News for hackers. Stuff that matters.
Re:Git Reflow by JimDabell on Thursday May 19, 2016 @04:35PM (#11733592)
> As someone in favor of squashing, I can say that I don't want to see things like "oops, reverting last commit" popup in my git history

There's a middle ground between squashing and leaving a load of disorganised crap in the history. Rebase before merging. It gives you a chance to clean up the rubbish, but it doesn't force you to squash an entire feature's work into a single commit. You can preserve the logical changes without letting the crap into your history.

Re:Git Reflow by ghayes on Thursday May 19, 2016 @08:35PM (#11734910)
I agree here. Be a good steward of your commits, and let `rebase -i` be your tool for that. A bunch of "err, try this instead" should be washed away, but it doesn't help to commit "Add Huge Feature" +10,000/-2,000 because "I should squash my feature"
Re:Git Reflow by mikepurvis on Thursday May 19, 2016 @09:23PM (#11735066)
If you're putting up 10k lines of code in a single review, you're doing it wrong anyway. Why wouldn't you have multiple reviews that each add different parts of a feature and link to the same ticket?
Re:Git Reflow by adrianratnapala on Friday May 20, 2016 @03:26AM (#11736058)
If I wanted to review 200 lines of changes, then I would still prefer to see it as a series of patches, each maybe with 1-20 lines changed and each with a clear purpose.