Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-12 06:24:28 +0400
committerJunio C Hamano <gitster@pobox.com>2008-08-12 06:24:28 +0400
commit7e4ad908721445b073f3b4ecad55bbd78f032cdc (patch)
tree3eabb87f35eec012919a8fbd2a050a5ba8e44c72 /git-bisect.sh
parentd777af86d84f73be50e922b84144d959475ed770 (diff)
parente5d3afd78be54fc6e958c7ebad178593fd030441 (diff)
Merge branch 'maint'
* maint: git-bisect: fix wrong usage of read(1)
Diffstat (limited to 'git-bisect.sh')
-rwxr-xr-xgit-bisect.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-bisect.sh b/git-bisect.sh
index 3cac20db79..97ac600873 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...
;;