Hacker News new | ask | show | jobs
by matthoiland 1378 days ago
I'd love to see a git history for our current US legislation
3 comments

You're in luck, someone recreated the constitution in git with the history of edits

https://github.com/jessekphillips/usa-constitution

Edit: just noticed the dates aren't accurate, but still interesting and the authors are accurate

Can git do pre-1970 dates?
The file/wire format can, but the official implementation doesn't handle it well. There is some work in progress to make it work, for this kind of historical work.
There is a project doing exactly this for German law.[1] I also once cobbled together a rather primitive Python script which commits Swiss federal law as MD-file into a repo through GitHub actions.[2]

[1] https://github.com/bundestag/gesetze

[2] https://github.com/quadratecode/ch-law-tracker

Yes. We need git-blame here.