提交 e5d3afd7 编写于 作者: F Francis Moreau 提交者: Junio C Hamano

git-bisect: fix wrong usage of read(1)

Signed-off-by: NFrancis Moreau <francis.moro@gmail.com>
Signed-off-by: NJunio C Hamano <gitster@pobox.com>
上级 e534735a
......@@ -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...
;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册