Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-bisect: typofix
author
Junio C Hamano
<junkio@cox.net>
Fri, 23 Mar 2007 20:15:21 +0000
(13:15 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 23 Mar 2007 20:15:21 +0000
(13:15 -0700)
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
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
abba9db
)
diff --git
a/git-bisect.sh
b/git-bisect.sh
index 3043f65514d8789b7b8f7f72df5968762facb410..8eaea7cd19598710769e78cb4eb1ecd34a707286 100755
(executable)
--- 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