@matheusbsbs / matheus-bagliano / commits / 434d036fe4
Fork 0

Do not fail after calling bisect_auto_next()

As a convenience measure, 'bisect bad' or 'bisect good' automatically does 'bisect next' when it knows it can, but the result of that test to see if it can was leaking through as the exit code from the whole thing, which was bad. Noticed by Anton Blanchard. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Sep 17, 2005 at 13:51 UTC 434d036fe4b8f1b7571eb912957590a483944b26
1 file changed +1 -1
git-bisect.sh
+1 -1
@@ -110,7 +110,7 @@ bisect_next_check() {
110 }
111
112 bisect_auto_next() {
113 - bisect_next_check && bisect_next
113 + bisect_next_check && bisect_next || :
114 }
115
116 bisect_next() {