X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-bisect.sh;h=6e2acb8ef29e5003945bed17014a68b141ada454;hb=8718e875080767f2c8d06c55c3fb5a6dddf0e5a0;hp=a5ea843fbf9d8dca682fefe10bb91f3b3e6d30b3;hpb=65c042d44dc843021f1410f1219104681fdd3469;p=git.git diff --git a/git-bisect.sh b/git-bisect.sh index a5ea843fb..6e2acb8ef 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -392,7 +392,7 @@ bisect_run () { cat "$GIT_DIR/BISECT_RUN" - if grep "first bad commit could be any of" "$GIT_DIR/BISECT_RUN" \ + if sane_grep "first bad commit could be any of" "$GIT_DIR/BISECT_RUN" \ > /dev/null; then echo >&2 "bisect run cannot continue any more" exit $res @@ -404,7 +404,7 @@ bisect_run () { exit $res fi - if grep "is the first bad commit" "$GIT_DIR/BISECT_RUN" > /dev/null; then + if sane_grep "is the first bad commit" "$GIT_DIR/BISECT_RUN" > /dev/null; then echo "bisect run success" exit 0; fi