Thread (21 messages) flat view 21 messages, 3 authors, 2016-06-15
STALE3728d

[PATCH 4/4] Document optional file parameter to git-add--interactive

From: Wincent Colaiuta <hidden>
Date: 2016-06-15 22:43:52
Subsystem: documentation, the rest · Maintainers: Jonathan Corbet, Linus Torvalds

Update the documentation for git-add to mention the new optional
file parameter to git-add--interactive.

Signed-off-by: Wincent Colaiuta <redacted>
---
 Documentation/git-add.txt |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 63829d9..4b44802 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -61,7 +61,10 @@ OPTIONS
 
 -i, \--interactive::
 	Add modified contents in the working tree interactively to
-	the index.
+	the index. If a single optional file argument is supplied the
+	initial command loop is bypassed and the 'patch' subcommand is
+	invoked for the specified file. See ``Interactive mode'' below
+	for details.
 
 -u::
 	Update only files that git already knows about. This is similar
-- 
1.5.3.5.737.gdee1b
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help