diff options
author | Junio C Hamano <junkio@cox.net> | 2007-03-23 13:15:21 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-23 13:15:21 -0700 |
commit | 673e58389fd8531ee1ac191350c2c10b1656486e (patch) | |
tree | 7474ec8b90ef3ca10eee537de4788b4c2b212d58 /git-bisect.sh | |
parent | abba9dbbf450d4037a5e2054250f197169ac63eb (diff) | |
download | git-673e58389fd8531ee1ac191350c2c10b1656486e.tar.gz git-673e58389fd8531ee1ac191350c2c10b1656486e.tar.xz |
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>
Diffstat (limited to 'git-bisect.sh')
-rwxr-xr-x | git-bisect.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-bisect.sh b/git-bisect.sh index 3043f6551..8eaea7cd1 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 |