threads / patch / 11049

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

Subject: [PATCH] Document all help keys in "git add -i" patch mode.

## tl;dr

One message between Nov 28, 2007 and Nov 28, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Ralf Wildenhues· Nov 28, 2007, 18:21 UTC · lore
---
 Documentation/git-add.txt |    2 ++
 git-add--interactive.perl |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
Show changes to 2 files +3 −0

Documentation/git-add.txt, git-add--interactive.perl

diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 63829d9..f4aad90 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -210,6 +210,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 fb1e92a..613cf3c 100755
--- a/git-add--interactive.perl
+++ b/git-add--interactive.perl
@@ -551,6 +551,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
 }
 
-- 
1.5.3.6.959.g1ab5

← back to recent threads