summaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorPekka Kaitaniemi <kaitanie@cc.helsinki.fi>2008-02-21 00:29:39 +0200
committerJunio C Hamano <gitster@pobox.com>2008-02-20 16:08:48 -0800
commit0ca15e7217285edaa6c93b53165e1250d25f030b (patch)
tree8ee2dc938917a2347879941aeeb010ff807ee4a6 /Documentation/git-add.txt
parent5274ba6907cc12d6e6556ff85cb0e4819bd3f730 (diff)
downloadgit-0ca15e7217285edaa6c93b53165e1250d25f030b.tar.gz
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>
Diffstat (limited to 'Documentation/git-add.txt')
-rw-r--r--Documentation/git-add.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 9d2ac865d2..47799097ce 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -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()