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

[PATCH v3] Fix mistakes in the documentation of git-add --interactive.

From
Benoit Sigoure <tsuna@lrde.epita.fr>
Date
Nov 7, 2007, 22:31 UTC
Message-ID
<1194474668-8837-1-git-send-email-tsuna@lrde.epita.fr>
In-Reply-To
<Pine.LNX.4.64.0711072224200.4362@racer.site>

This patch fixes a couple of language issues in the documentation of the `patch' sub-command of git-add --interactive.

Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
---
Use better wording proposed by Dscho.
 Documentation/git-add.txt |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 963e1ab..3117798 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -201,9 +201,9 @@ patch::
   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
+       n - skip this hunk
+       a - add the change from that hunk and all the remaining ones
+       d - skip this hunk, as well as the remaining ones
        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
@@ -211,8 +211,8 @@ patch::
            undecided hunk
        K - do not decide on this hunk now, and view the previous hunk
 +
-After deciding the fate for all hunks, if there is any hunk
-that was chosen, the index is updated with the selected hunks.
+After deciding the fate of each hunk, the index is updated with the selected
+ones.
 
 diff::
 
-- 
1.5.3.4.398.g859b
Previous: Benoit Sigoure
Message 7 of 7 in “Fix mistakes in the documentation of git-add --interactive.”
  1. Fix mistakes in the documentation of git-add --interactive.Benoit Sigoure, Nov 7, 2007
  2. Michele BallabioNov 7, 2007
  3. Benoit SigoureNov 7, 2007
  4. Fix mistakes in the documentation of git-add --interactive.Benoit Sigoure, Nov 7, 2007
  5. Johannes SchindelinNov 7, 2007
  6. Benoit SigoureNov 7, 2007
  7. Fix mistakes in the documentation of git-add --interactive.Benoit Sigoure, Nov 7, 2007

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.