Skip to contentSkip to conversation

git-bisect: typofix

PATCH New Junio C Hamano 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-bisect: typofix

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".

---
 git-bisect.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
git-bisect.sh +1 -1
index 3043f65..8eaea7c 100755
@@ -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
Signature · 1 line
1.5.1.rc1.651.g2ca06