summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-03-07 23:14:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-03-07 23:14:02 (GMT)
commit053a6b18074e12876d60da952d8a668631b21a64 (patch)
treed211cc6a40f5b4c916c34a7d187a7c90e398dd37 /Documentation
parent009055f3ecd8d9b4eb140429cb5ce5d2088174c7 (diff)
parent808d3d717e86be597aa94d4a26f82a0ba5a53c22 (diff)
downloadgit-053a6b18074e12876d60da952d8a668631b21a64.zip
git-053a6b18074e12876d60da952d8a668631b21a64.tar.gz
git-053a6b18074e12876d60da952d8a668631b21a64.tar.bz2
Merge branch 'jn/add-2.0-u-A-sans-pathspec'
"git add -u" and "git add -A" without any pathspec is a tree-wide operation now, even when they are run in a subdirectory of the working tree.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-add.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 48754cb..c7f83fd 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -104,10 +104,10 @@ apply to the index. See EDITING PATCHES below.
<pathspec>. This removes as well as modifies index entries to
match the working tree, but adds no new files.
+
-If no <pathspec> is given, the current version of Git defaults to
-"."; in other words, update all tracked files in the current directory
-and its subdirectories. This default will change in a future version
-of Git, hence the form without <pathspec> should not be used.
+If no <pathspec> is given when `-u` option is used, all
+tracked files in the entire working tree are updated (old versions
+of Git used to limit the update to the current directory and its
+subdirectories).
-A::
--all::
@@ -117,10 +117,10 @@ of Git, hence the form without <pathspec> should not be used.
entry. This adds, modifies, and removes index entries to
match the working tree.
+
-If no <pathspec> is given, the current version of Git defaults to
-"."; in other words, update all files in the current directory
-and its subdirectories. This default will change in a future version
-of Git, hence the form without <pathspec> should not be used.
+If no <pathspec> is given when `-A` option is used, all
+files in the entire working tree are updated (old versions
+of Git used to limit the update to the current directory and its
+subdirectories).
--no-all::
--ignore-removal::