[PATCH] bisect: fix missing "exit"

Previous thread: [PATCH] Documentation: bisect: change a few instances of "git-cmd" to "git cmd" by Christian Couder on Sunday, November 9, 2008 - 9:53 am. (1 message)

Next thread: [PATCH (GITK)] gitk: Fix commit encoding support. by Alexander Gavrilov on Sunday, November 9, 2008 - 11:06 am. (4 messages)
To: Junio C Hamano <gitster@...>
Cc: <git@...>
Date: Sunday, November 9, 2008 - 10:25 am

In my previous patch:

6a54d97 (2008-09-06 07:27:03 +0200 Christian Couder) bisect: remove "checkout_done" variable used when checking merge bases

I forgot to move '|| exit' to a line above.

This patch should fix that.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
---
git-bisect.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-bisect.sh b/git-bisect.sh
index 79de701..0d0e278 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -455,7 +455,7 @@ bisect_next() {
good=$(git for-each-ref --format='^%(objectname)' \
"refs/bisect/good-*" | tr '\012' ' ') &&
skip=$(git for-each-ref --format='%(objectname)' \
- "refs/bisect/skip-*" | tr '\012' ' ') &&
+ "refs/bisect/skip-*" | tr '\012' ' ') || exit

# Maybe some merge bases must be tested first
check_good_are_ancestors_of_bad "$bad" "$good" "$skip"
--
1.6.0.3.614.g0f3b9

--

Previous thread: [PATCH] Documentation: bisect: change a few instances of "git-cmd" to "git cmd" by Christian Couder on Sunday, November 9, 2008 - 9:53 am. (1 message)

Next thread: [PATCH (GITK)] gitk: Fix commit encoding support. by Alexander Gavrilov on Sunday, November 9, 2008 - 11:06 am. (4 messages)