]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-bisect.sh
Merge branch 'so/pretty-abbrev-doc'
[thirdparty/git.git] / git-bisect.sh
index eefc8eec88401e12a95885c5be0b1aca3c4f329a..c28e35b0fa8039f9d9ccf0925c1e17ac79c70dbe 100755 (executable)
@@ -41,7 +41,7 @@ TERM_GOOD=good
 
 bisect_head()
 {
-       if test -f "$GIT_DIR/BISECT_HEAD"
+       if git rev-parse --verify -q BISECT_HEAD > /dev/null
        then
                echo BISECT_HEAD
        else