Re:Git: Using Advanced Rebase Features for a Clean Repository
by kobeya on Wednesday August 09, 2017 @09:16AM
(#14968393)
If true, the the whole claim that nonlinear histories break git-bisect is bunk.
[ Parent
| on HN ]
Re:Git: Using Advanced Rebase Features for a Clean Repository
by JoshTriplett on Wednesday August 09, 2017 @12:40PM
(#14971006)
Non-linear histories work just fine with git-bisect. What breaks git-bisect are histories where every commit doesn't work; for instance, if you have one commit that breaks something, and a second commit that fixes it, git-bisect won't work well.
Re:Git: Using Advanced Rebase Features for a Clean Repository
by AstralStorm on Wednesday August 09, 2017 @01:43PM
(#14971699)
It will work just fine, you just might have to call git bisect skip a time or two or run it more than once.
Re:Git: Using Advanced Rebase Features for a Clean Repository
by JoshTriplett on Wednesday August 09, 2017 @02:28PM
(#14972199)
That's not "fine"; bisect takes long enough when you expect it to work consistently. And that assumes the code fails at build time, rather than mysteriously at runtime.
That also breaks the ability to do automated bisects.
I don't think it's at all unreasonable, at a minimum, to expect every individual commit to build and to pass tests.