git add -p: new "quit" command at the prompt.
commit9a7a1e03d5e530cdad98c41c109e3319c008ce69
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Fri, 10 Apr 2009 14:57:01 +0000 (10 16:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Apr 2009 02:41:35 +0000 (15 19:41 -0700)
tree10264819c881f230ed1de56a32cf3c385b2245c7
parentc965c029330b1f81cc107c5d829e7fd79c61d8ea
git add -p: new "quit" command at the prompt.

There's already 'd' to stop staging hunks in a file, but no explicit
command to stop the interactive staging (for the current files and the
remaining ones).  Of course you can do 'd' and then ^C, but it would be
more intuitive to allow 'quit' action.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt
git-add--interactive.perl