threads / patch / 10396

patchMention split command in git-add manpage

Subject: [PATCH] Mention split command in git-add manpage

## tl;dr

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

replies: 0people: 1as markdown or json

Bram Schoenmakers· Oct 20, 2007, 19:15 UTC · lore
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(-)
Show changes to Documentation/git-add.txt +1 −0
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

← back to recent threads