X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=git-bisect.sh;h=97ac600873ebd0dff6310071343403a41a867b8a;hb=5fc3e67ac0241c491dcf1c0c9dcd4a4d83e7c243;hp=3cac20db79e1e408a321b0e9d272501985a3c49b;hpb=1f8dc671557a7330eaee9c0296bfad669d26a1b8;p=git.git diff --git a/git-bisect.sh b/git-bisect.sh index 3cac20db7..97ac60087 100755 --- a/git-bisect.sh +++ b/git-bisect.sh @@ -220,7 +220,8 @@ bisect_next_check() { if test -t 0 then printf >&2 'Are you sure [Y/n]? ' - case "$(read yesno)" in [Nn]*) exit 1 ;; esac + read yesno + case "$yesno" in [Nn]*) exit 1 ;; esac fi : bisect without good... ;;