OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e534735
)
git-bisect: fix wrong usage of read(1)
author
Francis Moreau
<francis.moro@gmail.com>
Mon, 11 Aug 2008 17:37:46 +0000
(19:37 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 11 Aug 2008 23:48:11 +0000
(16:48 -0700)
Signed-off-by: Francis Moreau <francis.moro@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-bisect.sh
patch
|
blob
|
history
diff --git
a/git-bisect.sh
b/git-bisect.sh
index
991b2ef
..
6c6c3de
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...
;;