diff options
author | Jean-Luc Herren <jlh@gmx.ch> | 2007-09-26 16:05:01 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-29 23:14:17 -0700 |
commit | 6a6eb3d09fcbfae41978fb5223ae03e2d103968b (patch) | |
tree | 9df1c29c17e15e787d9d1d0a41b5266dedffb0a2 /peek-remote.c | |
parent | c95c02486c4dd82f8910a8de1cb7c8f9db899995 (diff) | |
download | git-6a6eb3d09fcbfae41978fb5223ae03e2d103968b.tar.gz git-6a6eb3d09fcbfae41978fb5223ae03e2d103968b.tar.xz |
git-add--interactive: Improve behavior on bogus input
1) Previously, any menu would cause a perl error when entered '0',
which is never a valid option.
2) Entering a bogus choice (like 998 or 4-2) surprisingly caused
the same behavior as if the user had just hit 'enter', which
means to carry out the selected action on the selected items.
Entering such bogus input is now a no-op and the sub-menu
doesn't exit.
Signed-off-by: Jean-Luc Herren <jlh@gmx.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'peek-remote.c')
0 files changed, 0 insertions, 0 deletions