@matheusbsbs / matheus-bagliano / commits / 673e58389f
Fork 0

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". Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Mar 23, 2007 at 13:15 UTC 673e58389fd8531ee1ac191350c2c10b1656486e
1 file changed +1 -1
git-bisect.sh
+1 -1
@@ -50,7 +50,7 @@ bisect_start() {
50 head=$(GIT_DIR="$GIT_DIR" git-symbolic-ref HEAD) ||
51 die "Bad HEAD - I need a symbolic ref"
52 case "$head" in
53 - refs/heads/bisect*)
53 + refs/heads/bisect)
54 if [ -s "$GIT_DIR/head-name" ]; then
55 branch=`cat "$GIT_DIR/head-name"`
56 else