author | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Aug 2008 02:24:28 +0000 (19:24 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Aug 2008 02:24:28 +0000 (19:24 -0700) |
* maint:
git-bisect: fix wrong usage of read(1)
git-bisect: fix wrong usage of read(1)
git-bisect.sh | patch | blob | history |
diff --git a/git-bisect.sh b/git-bisect.sh
index 3cac20db79e1e408a321b0e9d272501985a3c49b..97ac600873ebd0dff6310071343403a41a867b8a 100755 (executable)
--- a/git-bisect.sh
+++ b/git-bisect.sh
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...
;;