From: Ralf Wildenhues Date: Wed, 28 Nov 2007 18:21:42 +0000 (+0100) Subject: Document all help keys in "git add -i" patch mode. X-Git-Tag: v1.5.4-rc0~77^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=280e50c7e5c2c52cbcc452fa5fb254ee580ae39c;p=git.git Document all help keys in "git add -i" patch mode. Signed-off-by: Junio C Hamano --- 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 }