git-add--interactive: Allow Ctrl-D to exit
authorJean-Luc Herren <jlh@gmx.ch>
Wed, 26 Sep 2007 13:56:19 +0000 (15:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 30 Sep 2007 06:14:16 +0000 (23:14 -0700)
Hitting Ctrl-D (EOF) is a common way to exit shell-like tools.
When in a sub-menu it will still behave as if an empty line had
been entered, carrying out the action on the selected items and
returning to the previous menu.

Signed-off-by: Jean-Luc Herren <jlh@gmx.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found