Document all help keys in "git add -i" patch mode.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Ralf Wildenhues committed
Nov 28, 2007 at 19:21 UTC
280e50c7e5c2c52cbcc452fa5fb254ee580ae39c
2 files changed
+3
Documentation/git-add.txt
+2
@@ -217,6 +217,8 @@ patch::
217
k - do not decide on this hunk now, and view the previous
218
undecided hunk
219
K - do not decide on this hunk now, and view the previous hunk
220
+ s - split the current hunk into smaller hunks
221
+ ? - print help
222
+
223
After deciding the fate for all hunks, if there is any hunk
224
that was chosen, the index is updated with the selected hunks.
git-add--interactive.perl
+1
@@ -562,6 +562,7 @@ J - leave this hunk undecided, see next hunk
562
k - leave this hunk undecided, see previous undecided hunk
563
K - leave this hunk undecided, see previous hunk
564
s - split the current hunk into smaller hunks
565
+? - print help
566
EOF
567
}
568