aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2009-04-10 16:57:01 +0200
committerJunio C Hamano <gitster@pobox.com>2009-04-19 12:35:37 -0700
commitcbd3a01ed803778b2377e0148448f7e617bc381a (patch)
tree63b3f497fc804243786439f96ead38df2b80d93b /Documentation
parent3bd1bb327eb4d3e386800897734f9f42b48280ff (diff)
downloadgit-cbd3a01ed803778b2377e0148448f7e617bc381a.tar.gz
git-cbd3a01ed803778b2377e0148448f7e617bc381a.tar.xz
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-add.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index ce71838b9..709e04b33 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -245,6 +245,7 @@ patch::
y - stage this hunk
n - do not stage this hunk
+ q - quite, do not stage this hunk nor any of the remaining ones
a - stage this and all the remaining hunks in the file
d - do not stage this hunk nor any of the remaining hunks in the file
j - leave this hunk undecided, see next undecided hunk