diff options
author | Junio C Hamano <junkio@cox.net> | 2005-09-17 13:51:03 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-09-17 13:51:03 -0700 |
commit | 434d036fe4b8f1b7571eb912957590a483944b26 (patch) | |
tree | 1336487c64999461cc35eaba62558b359dd640c1 /git-bisect.sh | |
parent | b3661567cfa604abfa6a67d8e7bbd6db018c3fe6 (diff) | |
download | git-434d036fe4b8f1b7571eb912957590a483944b26.tar.gz git-434d036fe4b8f1b7571eb912957590a483944b26.tar.xz |
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>
Diffstat (limited to 'git-bisect.sh')
-rwxr-xr-x | git-bisect.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-bisect.sh b/git-bisect.sh index a5be3a729..8dc77c991 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -110,7 +110,7 @@ bisect_next_check() { } bisect_auto_next() { - bisect_next_check && bisect_next + bisect_next_check && bisect_next || : } bisect_next() { |