Live data from Hacker News

All 104 amendments to the Constitution of India as Git commits

github.com

11–20 of 91 posts

Re: All 104 amendments to the Constitution of India as Git commits

#12

I look forward to the day when constitutional amendments are pull requests.

Absolutely! It would be a dream come true if Indian law-makers start doing things in the public, allowing public to comment/vet their ideas/thoughts/plans on upcoming legislations. I'm not sure if you're aware: currently the farmers in India's capital are protesting against the farm acts the Govt. introduced. The acts are supposed to do good to the farmers, but since they did not involve them, there is a lot of misinformation and protest.

Re: All 104 amendments to the Constitution of India as Git commits

#13
post #9

Shouldn‘t it be one commit if they were amended? /s

An amendment in the Indian Constitution is an act/law/bill in itself. It does modify the core document (the constitution) but it has an independent existence.

In that sense, one could argue that every "amendment" is a bugfix, feature-request of sorts.

Debatable both ways.

I personally like the idea of independent commits better as the "git browse" UIs handle individual commits better.

Re: All 104 amendments to the Constitution of India as Git commits

#15
post #6

Great effort! I wish the files were named as Part01.txt, Part02.txt and so on to suit the default string sorting used by GitHub. The list on GitHub has Part1.txt, Part10.txt...Part19.txt, Part2.txt, and so on, which makes it a bit cumbersome to browse on that site.

Yeah, now that you pointed out, it does look ugly. I created an issue: https://github.com/prince-mishra/the-constitution-of-india/i... to track this one. I anyway plan to rewrite all commits with corrected time and author info; will be a good time to rename files as well.

Re: All 104 amendments to the Constitution of India as Git commits

#17

This is very cool. Diff for 42nd Ammendment which was used to impose emergency https://github.com/prince-mishra/the-constitution-of-india/c...

Especially look at the restrictions on courts!

I did Ctrl+F for "speech" and "press" and did not find anything in https://github.com/prince-mishra/the-constitution-of-india/c...

Re: All 104 amendments to the Constitution of India as Git commits

#19
post #9

Shouldn‘t it be one commit if they were amended? /s

An amendment in the Indian Constitution is an act/law/bill in itself. It does modify the core document (the constitution) but it has an independent existence. In that sense, one could argue that every "amendment" is a bugfix, feature-request of sorts. Debatable both ways. I personally like the idea of independent commits better as the "git browse" UIs handle individual commits better.

It’s a joke about git commit --amend.

Re: All 104 amendments to the Constitution of India as Git commits

#20

I look forward to the day when constitutional amendments are pull requests.

Not just constitutional amendments, legal documents of all kinds would benefit from standard formatting and version control.

One difficult challenge is that text-line based diffs don't work well for free-form text documents. Line length, line breaks, paragraph breaks, list formatting, etc. are very ad-hoc in most legal documents.

Post reply on HN