Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2009-04-10 18:57:01 +0400
committerJunio C Hamano <gitster@pobox.com>2009-04-16 06:41:35 +0400
commit9a7a1e03d5e530cdad98c41c109e3319c008ce69 (patch)
tree10264819c881f230ed1de56a32cf3c385b2245c7 /Documentation/git-add.txt
parentc965c029330b1f81cc107c5d829e7fd79c61d8ea (diff)
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/git-add.txt')
-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 ce71838b9e..709e04b335 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