Clarified the meaning of git-add -u in the documentation
authorPekka Kaitaniemi <kaitanie@cc.helsinki.fi>
Wed, 20 Feb 2008 22:29:39 +0000 (00:29 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 21 Feb 2008 00:08:48 +0000 (16:08 -0800)
The git-add documentation did not state clearly that the -u switch
updates only the tracked files that are in the current directory and
its subdirectories.

Signed-off-by: Pekka Kaitaniemi <kaitanie@cc.helsinki.fi>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.txt
index 9d2ac865d29164dd594c801dd42e3492128f7b91..47799097ce97da34fac60eafabd25576e077e362 100644 (file)
@@ -74,8 +74,8 @@ OPTIONS
        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.
+       command line. If no paths are specified, all tracked files in the
+       current directory and its subdirectories are updated.
 
 \--refresh::
        Don't add the file(s), but only refresh their stat()