News for hackers. Stuff that matters.
Re:Is Git Irreplaceable? (2019) by int_19h on Tuesday January 07, 2020 @05:17AM (#21978623)
If you can annotate an entire commit with a message, why not allow annotating parts of a commit (file/span) with a message, and why not allow those messages to form threads?

At which point you get code review that is logged entirely in the history of the repo. Which is a very useful feature, and a huge value proposition of GitHub over raw git - git blame gives you the commit, but GitHub will also gives you the pull request for that commit, and you can go and look at the comments there to understand why it was done the way it was.

Re:Is Git Irreplaceable? (2019) by afiori on Tuesday January 07, 2020 @06:38AM (#21979029)
I agree that such feature would be valuable, but I also have a counterpoint to answer the 'why not'

A difference between a commit message and a code comment/thread is that a commit message is more authoritative.

Re:Is Git Irreplaceable? (2019) by jerf on Tuesday January 07, 2020 @09:22AM (#21980108)
You could actually do that today with the Git model if you want to, so, arguably, the question is, why doesn't your code review tool already put its history in git?

(Probably some combination of nobody asking for it, and in some cases, wanting to keep your code review process locked in to the tool.)