doc: clarify definition of "update" for git-add -u
authorJeff King <peff@peff.net>
Thu, 8 May 2008 17:25:06 +0000 (13:25 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 May 2008 19:09:42 +0000 (12:09 -0700)
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>
Documentation/git-add.txt

index c751a17d079dc2a6c5d3160573a42a7b6be3d5e2..ab88f0a76398b2f477f5c0d695c62b0b75d8a0a1 100644 (file)
@@ -71,7 +71,9 @@ OPTIONS
        the specified filepatterns before exiting.
 
 -u::
-       Update only files that git already knows about. This is similar
+       Update only files that git already knows about, staging modified
+       content for commit and marking deleted files for removal. 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 in the