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

[PATCH] Mention split command in git-add manpage

From
BSBram Schoenmakers <me@bramschoenmakers.nl>
Date
Oct 20, 2007, 19:15 UTC
Message-ID
<200710202115.10028.me@bramschoenmakers.nl>
Hello,

A little patch for the git-add manpage which mentions the 's' option for splitting hunks in git-add -i mode.

---
 Documentation/git-add.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 2fe7355..032957a 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -210,6 +210,7 @@ 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 large hunks at context lines in the middle
 +
 After deciding the fate for all hunks, if there is any hunk
 that was chosen, the index is updated with the selected hunks.
-- 
1.5.2.5

Kind regards,

-- 
Bram Schoenmakers

You can contact me directly on ICQ with #153817629
Message 1 of 1 in “Mention split command in git-add manpage”
  1. Mention split command in git-add manpageBram Schoenmakers, Oct 20, 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.