Document all help keys in "git add -i" patch mode.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ralf Wildenhues 2007-11-28 19:21:42 +01:00 committed by Junio C Hamano
parent b63e995001
commit 280e50c7e5
2 changed files with 3 additions and 0 deletions

View File

@ -217,6 +217,8 @@ patch::
k - do not decide on this hunk now, and view the previous k - do not decide on this hunk now, and view the previous
undecided hunk undecided hunk
K - do not decide on this hunk now, and view the previous 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 After deciding the fate for all hunks, if there is any hunk
that was chosen, the index is updated with the selected hunks. that was chosen, the index is updated with the selected hunks.

View File

@ -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 undecided hunk
K - leave this hunk undecided, see previous hunk K - leave this hunk undecided, see previous hunk
s - split the current hunk into smaller hunks s - split the current hunk into smaller hunks
? - print help
EOF EOF
} }