summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2008-05-08 13:25:06 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-05-08 12:09:42 -0700
commitafd899e1b7ef2b55a24834faad228b45ded6320a (patch)
tree5f7a6ae98cbaf8fdb2870d046dfdf05d371d0d13 /Documentation
parentfilter-branch: Documentation fix. (diff)
downloadtgif-afd899e1b7ef2b55a24834faad228b45ded6320a.tar.xz
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-add.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index c751a17d07..ab88f0a763 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -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