Skip to content

Commit

Permalink
Do not fail after calling bisect_auto_next()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Junio C Hamano committed Sep 17, 2005
1 parent b366156 commit 434d036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-bisect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ bisect_next_check() {
}

bisect_auto_next() {
bisect_next_check && bisect_next
bisect_next_check && bisect_next || :
}

bisect_next() {
Expand Down

0 comments on commit 434d036

Please sign in to comment.