doc: clarify definition of "update" for git-add -u
The "-u" option is described only in terms of "updating" files, which in turn is described only as "similar to what git commit -a does". Let's be a little more specific about what updating entails. Suggested by Geoffrey Irving. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
May 8, 2008 at 13:25 UTC
afd899e1b7ef2b55a24834faad228b45ded6320a
1 file changed
+3
-1
Documentation/git-add.txt
+3
-1
@@ -71,7 +71,9 @@ OPTIONS
71
the specified filepatterns before exiting.
72
73
-u::
74
- Update only files that git already knows about. This is similar
74
+ Update only files that git already knows about, staging modified
75
+ content for commit and marking deleted files for removal. This
76
+ is similar
77
to what "git commit -a" does in preparation for making a commit,
78
except that the update is limited to paths specified on the
79
command line. If no paths are specified, all tracked files in the