* [PATCH] git-bisect: fix wrong usage of read(1)
@ 2008-08-11 17:37 Francis Moreau
0 siblings, 0 replies; only message in thread
From: Francis Moreau @ 2008-08-11 17:37 UTC (permalink / raw)
To: git
Signed-off-by: Francis Moreau <francis.moro@gmail.com>
---
git-bisect.sh | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/git-bisect.sh b/git-bisect.sh
index 3cac20d..97ac600 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...
;;
--
1.5.6.GIT
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-11 17:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-11 17:37 [PATCH] git-bisect: fix wrong usage of read(1) Francis Moreau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).