@matheusbsbs / matheus-bagliano / commits / d2d188d922
Fork 0

bisect: fix missing "exit"

Check to see given bad/good/skip sets are valid commit and to exit otherwise was broken by 6a54d97 (bisect: remove "checkout_done" variable used when checking merge bases, 2008-09-06). Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Christian Couder committed Nov 9, 2008 at 15:25 UTC d2d188d92203997d260e8a21695b85c18b002d8f
1 file changed +1 -1
git-bisect.sh
+1 -1
@@ -455,7 +455,7 @@ bisect_next() {
455 good=$(git for-each-ref --format='^%(objectname)' \
456 "refs/bisect/good-*" | tr '\012' ' ') &&
457 skip=$(git for-each-ref --format='%(objectname)' \
458 - "refs/bisect/skip-*" | tr '\012' ' ') &&
458 + "refs/bisect/skip-*" | tr '\012' ' ') || exit
459
460 # Maybe some merge bases must be tested first
461 check_good_are_ancestors_of_bad "$bad" "$good" "$skip"