aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2007-11-28 19:21:42 +0100
committerJunio C Hamano <gitster@pobox.com>2007-11-28 15:46:46 -0800
commit280e50c7e5c2c52cbcc452fa5fb254ee580ae39c (patch)
treec69cbe95c70f637dc114583325bfd6604cef244e
parentb63e99500137c913bd801a2f22b6cf88c63b95c5 (diff)
downloadgit-280e50c7e5c2c52cbcc452fa5fb254ee580ae39c.tar.gz
git-280e50c7e5c2c52cbcc452fa5fb254ee580ae39c.tar.xz
Document all help keys in "git add -i" patch mode.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-add.txt2
-rwxr-xr-xgit-add--interactive.perl1
2 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index ce22de8d2..e74f83b47 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -217,6 +217,8 @@ patch::
k - do not decide on this hunk now, and view the previous
undecided hunk
K - do not decide on this hunk now, and view the previous hunk
+ s - split the current hunk into smaller hunks
+ ? - print help
+
After deciding the fate for all hunks, if there is any hunk
that was chosen, the index is updated with the selected hunks.
diff --git a/git-add--interactive.perl b/git-add--interactive.perl
index df5df3ec9..879cc5ead 100755
--- a/git-add--interactive.perl
+++ b/git-add--interactive.perl
@@ -562,6 +562,7 @@ J - leave this hunk undecided, see next hunk
k - leave this hunk undecided, see previous undecided hunk
K - leave this hunk undecided, see previous hunk
s - split the current hunk into smaller hunks
+? - print help
EOF
}