Skip to content

Commit

Permalink
Document all help keys in "git add -i" patch mode.
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ralf Wildenhues authored and Junio C Hamano committed Nov 28, 2007
1 parent b63e995 commit 280e50c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/git-add.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions git-add--interactive.perl
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,7 @@ sub help_patch_cmd {
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
}

Expand Down

0 comments on commit 280e50c

Please sign in to comment.