{"thread":{"id":"14934","subject":"[PATCH] git-bisect: fix wrong usage of read(1)","startedAt":"2008-08-11T17:37:46Z","lastAt":"2008-08-11T17:37:46Z","messageCount":1,"participants":["Francis Moreau"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"86797","messageId":"38b2ab8a0808111037p36e7e4b3y438a2539bc447330@mail.gmail.com","threadId":"14934","inReplyTo":null,"subject":"[PATCH] git-bisect: fix wrong usage of read(1)","fromName":"Francis Moreau","fromEmail":"francis.moro@gmail.com","sentAt":"2008-08-11T17:37:46Z","receivedAt":"2008-08-11T17:37:46Z","isPatch":true,"sender":{"key":"francis.moro@gmail.com","avatar":null},"body":"Signed-off-by:  Francis Moreau <francis.moro@gmail.com>\n---\n git-bisect.sh |    3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)\n\ndiff --git a/git-bisect.sh b/git-bisect.sh\nindex 3cac20d..97ac600 100755\n--- a/git-bisect.sh\n+++ b/git-bisect.sh\n@@ -220,7 +220,8 @@ bisect_next_check() {\n \t\tif test -t 0\n \t\tthen\n \t\t\tprintf >&2 'Are you sure [Y/n]? '\n-\t\t\tcase \"$(read yesno)\" in [Nn]*) exit 1 ;; esac\n+\t\t\tread yesno\n+\t\t\tcase \"$yesno\" in [Nn]*) exit 1 ;; esac\n \t\tfi\n \t\t: bisect without good...\n \t\t;;\n-- \n1.5.6.GIT\n"}]}