Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-bisect: fix wrong usage of read(1)
[gitweb.git]
/
git-bisect.sh
diff --git
a/git-bisect.sh
b/git-bisect.sh
index 991b2ef37e5121d89f40d1b10964bf5d5beed40b..6c6c3de54a890cc4ba9927c6e8159c862cb231c4 100755
(executable)
--- 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...
;;