# [PATCH] git-bisect: typofix

1 messages from 2007-03-23 to 2007-03-23. Participants: Junio C Hamano.
Thread: https://gitlist.dev/t/7372

## Junio C Hamano, 2007-03-23 21:57

Subject: [PATCH] git-bisect: typofix
Message-ID: <7vwt17oc7d.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vwt17oc7d.fsf%40assigned-by-dhcp.cox.net

```
The branch you are on while bisecting is always "bisect", and
checking for "refs/heads/bisect*" is wrong.  Only check if it is
exactly "refs/heads/bisect".

Signed-off-by: Junio C Hamano <junkio@cox.net>
---
 git-bisect.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-bisect.sh b/git-bisect.sh
index 3043f65..8eaea7c 100755
--- a/git-bisect.sh
+++ b/git-bisect.sh
@@ -50,7 +50,7 @@ bisect_start() {
 	head=$(GIT_DIR="$GIT_DIR" git-symbolic-ref HEAD) ||
 	die "Bad HEAD - I need a symbolic ref"
 	case "$head" in
-	refs/heads/bisect*)
+	refs/heads/bisect)
 		if [ -s "$GIT_DIR/head-name" ]; then
 		    branch=`cat "$GIT_DIR/head-name"`
 		else
-- 
1.5.1.rc1.651.g2ca06

```
