summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2007-05-13 20:39:11 -0400
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-13 18:45:15 -0700
commitdfaa61bd524799d61b50bbbcee8b7972910ea41c (patch)
treefeba31b412d434429362118d7d07f830039033ba
parentDocumentation: Split description of pretty formats of commit log (diff)
downloadtgif-dfaa61bd524799d61b50bbbcee8b7972910ea41c.tar.xz
Documentation/git-add: clarify -u with path limiting
Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Documentation/git-add.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index ea2701846f..27b9c0f8cc 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -57,8 +57,11 @@ OPTIONS
the index.
-u::
- Update all files that git already knows about. This is what
- "git commit -a" does in preparation for making a commit.
+ Update only files that git already knows about. This is similar
+ to what "git commit -a" does in preparation for making a commit,
+ except that the update is limited to paths specified on the
+ command line. If no paths are specified, all tracked files are
+ updated.
\--::
This option can be used to separate command-line options from