git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Minor wording changes in the keyboard descriptions in git-add --interactive.

From
Vineet Kumar <vineet@doorstop.net>
Date
Mar 13, 2008, 18:32 UTC
Message-ID
<1205433136-32734-1-git-send-email-vineet@doorstop.net>
In-Reply-To
<20080310154719.GA11449@doorstop.net>

The wording of the interactive help text from git-add--interactive.perl is clearer. Just duplicate that text here.

Signed-off-by: Vineet Kumar <vineet@doorstop.net>
---
 Documentation/git-add.txt |   18 ++++++++----------
 1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 4779909..c751a17 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -207,16 +207,14 @@ patch::
   and the working tree file and asks you if you want to stage
   the change of each hunk.  You can say:
 
-       y - add the change from that hunk to index
-       n - do not add the change from that hunk to index
-       a - add the change from that hunk and all the rest to index
-       d - do not the change from that hunk nor any of the rest to index
-       j - do not decide on this hunk now, and view the next
-           undecided hunk
-       J - do not decide on this hunk now, and view the next hunk
-       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
+       y - stage this hunk
+       n - do not stage this hunk
+       a - stage this and all the remaining hunks in the file
+       d - do not stage this hunk nor any of the remaining hunks in the file
+       j - leave this hunk undecided, see next undecided hunk
+       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
 +
-- 
1.5.4.2
Previous: Vineet Kumar
Message 4 of 4 in “Minor wording changes in the keyboard descriptions in git-add --interactive.”
  1. Minor wording changes in the keyboard descriptions in git-add --interactive.Vineet Kumar, Mar 7, 2008
  2. Junio C HamanoMar 7, 2008
  3. Vineet KumarMar 10, 2008
  4. Minor wording changes in the keyboard descriptions in git-add --interactive.Vineet Kumar, Mar 13, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.