logoalt Hacker News

cyrusradfartoday at 1:04 PM5 repliesview on HN

I think this is great. Only limit of git is I can't imagine "git blame" works. It would be nice to know who voted for and against each patch. Git isn't structured for collaborative commits.


Replies

hirako2000today at 1:06 PM

That could actually be a git commit log with date, votes and other metadata.

But getting the entire country's law into git is already an impressive feat.

show 1 reply
embedding-shapetoday at 1:27 PM

> Git isn't structured for collaborative commits.

Git isn't structured for collaborative commits, but community-wide conventions kind of "patches" support for it on top of the git message body, via "Co-Authored-By: name <[email protected]>" which IIRC most platforms support, and the convention itself initially comes from Linux kernel development.

1718627440today at 2:11 PM

You could have the parliament (meaning including the election cycle) as the main author and then the parties and votes as Co-Authors.

dinkumthinkumtoday at 3:43 PM

Is this really a problem we have now, though? This information is publicly available. If everyone here is so excited about LLMs then why would this even be needed? Anthropic can just give us the answer to every question. We don't need nerds that know what git is. :)

nuhuhhtoday at 1:14 PM

Yeah you can, just smash commits on the PR where multiple contributed. It will say it was a collaborative commit in history showing all their avatars.