summaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2007-05-14 00:39:11 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-05-14 01:45:15 (GMT)
commitdfaa61bd524799d61b50bbbcee8b7972910ea41c (patch)
treefeba31b412d434429362118d7d07f830039033ba /Documentation/git-add.txt
parent331b51d24050c221221049421a924c1a150887db (diff)
downloadgit-dfaa61bd524799d61b50bbbcee8b7972910ea41c.zip
git-dfaa61bd524799d61b50bbbcee8b7972910ea41c.tar.gz
git-dfaa61bd524799d61b50bbbcee8b7972910ea41c.tar.bz2
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>
Diffstat (limited to 'Documentation/git-add.txt')
-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 ea27018..27b9c0f 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