mirror of
https://github.com/git/git.git
synced 2024-11-24 10:26:17 +08:00
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>
This commit is contained in:
parent
abba9dbbf4
commit
673e58389f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user