mirror of
https://github.com/git/git.git
synced 2024-11-19 00:34:00 +01:00
git-bisect: fix wrong usage of read(1)
Signed-off-by: Francis Moreau <francis.moro@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
e534735a4c
commit
e5d3afd78b
@ -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...
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user