@matheusbsbs / matheus-bagliano / commits / 0ca15e7217
Fork 0

Clarified the meaning of git-add -u in the documentation

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>

Pekka Kaitaniemi committed Feb 21, 2008 at 00:29 UTC 0ca15e7217285edaa6c93b53165e1250d25f030b
1 file changed +2 -2
Documentation/git-add.txt
+2 -2
@@ -74,8 +74,8 @@ OPTIONS
74 Update only files that git already knows about. This is similar
75 to what "git commit -a" does in preparation for making a commit,
76 except that the update is limited to paths specified on the
77 - command line. If no paths are specified, all tracked files are
78 - updated.
77 + command line. If no paths are specified, all tracked files in the
78 + current directory and its subdirectories are updated.
79
80 \--refresh::
81 Don't add the file(s), but only refresh their stat()