I have the following problem:
- the version at
masterworks fine - the version of the last tag before
master(saylast) has a bug - a colleague needs a patch for his
lastrevision for that certain bug
Okay. Let's ask our friend git bisect for the revision that fixed the bug:
git bisect start
git bisect bad last
git bisect good master
But that's not going to work:
Some good revs are not ancestor of the bad rev.
git bisect cannot work properly in this case.
Maybe you mistake good and bad revs?
Any hints to overcome this? Did I miss something in the docs?
git bisect run ...to automate bisecting. So I have no chance just to swap the wordsgoodandbad(that was too obvious). How to userunto find the first good revision? – Daniel Böhmer Mar 22 '16 at 14:34git bisect runreturns good or bad as exit code, not as a string. See my answer I just posted below. – Daniel Böhmer Mar 22 '16 at 14:55