git add -p: new "quit" command at the prompt.
commitcbd3a01ed803778b2377e0148448f7e617bc381a
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Fri, 10 Apr 2009 14:57:01 +0000 (10 16:57 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 19 Apr 2009 19:35:37 +0000 (19 12:35 -0700)
tree63b3f497fc804243786439f96ead38df2b80d93b
parent3bd1bb327eb4d3e386800897734f9f42b48280ff
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