]> asedeno.scripts.mit.edu Git - git.git/commitdiff
Documentation/git-add: clarify -u with path limiting
authorJeff King <peff@peff.net>
Mon, 14 May 2007 00:39:11 +0000 (20:39 -0400)
committerJunio C Hamano <junkio@cox.net>
Mon, 14 May 2007 01:45:15 +0000 (18:45 -0700)
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-add.txt

index ea2701846f3b9f2ddd86942223df65872a70b64f..27b9c0f8cc1ff8f7c42c0fdcd86008c7f8d2a5be 100644 (file)
@@ -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