News for hackers. Stuff that matters.
Re:GitHub isn't fun anymore by conradludgate on Wednesday June 17, 2020 @09:02AM (#23550830)
I don't think I ever factor in commit messages into my code reviews. I may look at the commit history if I want to see how they experimented implementing the feature, but I only care about the end goal and the code I will be merging in at the end.
Re:GitHub isn't fun anymore by u801e on Wednesday June 17, 2020 @10:26AM (#23551794)
The issue is that Github actually discourages reviewing by commit because it makes it difficult to do so. Though there are those who are only interested in the overall diff, there are others who want to be able to maintain a clean and informative history via version control. When the review system makes it difficult to ensure that's the case, then then version control history cannot be maintained.
Re:GitHub isn't fun anymore by atq2119 on Wednesday June 17, 2020 @04:43PM (#23556485)
Precisely. We're in a vicious cycle where most people using Git don't use what ought to be Git best practices for most serious large scale projects (clean history with self-contained logical commits and good commit descriptions) because GitHub makes it so difficult to do this. And to be fair, GitLab really isn't much better in this department.

And there isn't enough pressure on GitHub or GitLab to clean up their act because most people don't even know what they're missing. And so the cycle continues.

Re:GitHub isn't fun anymore by felipelemos on Wednesday June 17, 2020 @07:08PM (#23557913)
If you use squash and merge this won't be a problem, you will have a "clean history with self-contained logical commits and good commit history", and intermediary commits won't matter anyway.
Re:GitHub isn't fun anymore by u801e on Wednesday June 17, 2020 @11:37PM (#23559574)
Some features take more than a single logical commit to implement. Looking at the git mailing list, I see patch series containing anywhere from 1 to 10 commits (with some as many as 15 commits).

Also, having a single commit touching many parts of the code makes it harder to revert due to a greater chanche of conflicts with other commits.