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>
This commit is contained in:
Junio C Hamano 2005-09-17 13:51:03 -07:00
Родитель b3661567cf
Коммит 434d036fe4
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -110,7 +110,7 @@ bisect_next_check() {
}
bisect_auto_next() {
bisect_next_check && bisect_next
bisect_next_check && bisect_next || :
}
bisect_next() {