News for hackers. Stuff that matters.
Re:Is Git Irreplaceable? (2019) by dev_north_east on Tuesday January 07, 2020 @09:20AM (#21980088)
> that is a feature! You don't know how I miss that!

Yep, handiest way to perform a first pass on narrowing down an introduced bug between a few commits.

Re:Is Git Irreplaceable? (2019) by jerf on Tuesday January 07, 2020 @09:24AM (#21980131)
Have you used "git bisect"?
Re:Is Git Irreplaceable? (2019) by dev_north_east on Tuesday January 07, 2020 @11:18AM (#21981353)
Just reading up on it now. Seems interesting, might give it a shot next time.
Re:Is Git Irreplaceable? (2019) by jerf on Tuesday January 07, 2020 @12:17PM (#21982017)
In the case you mentioned of "just a few commits" it's of marginal utility, because you can do that manually almost as quickly, but it's a killer when it comes to "I don't really know when we introduced this" and you have to sift over thousands of commits. Unfortunately, it requires that you have the discipline to keep every commit on the relevant branches buildable (enough so to find the bugs), which is something you can do going forward but can't retroactively apply to a code base very well.
Re:Is Git Irreplaceable? (2019) by wyoung2 on Wednesday January 08, 2020 @03:03PM (#21995171)
Agreed. Bisecting a deep and complex version history can be a lifesaver, especially under a time crunch.

Fossil has bisecting with much the same CLI as Git, for what that's worth.