summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-12-11 19:14:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-12-11 19:14:17 (GMT)
commit17e5bcab715339a24b573ebc28349b9a9a3df0b8 (patch)
tree2f8d6ea24d7d26a44c8a90e716b9fea758c01727
parent63b3db71d8b7e7565ec154daf9acc6f83bcd6f3a (diff)
parente7220c40b175561a276285e95f3fe8c7a86204f2 (diff)
downloadgit-17e5bcab715339a24b573ebc28349b9a9a3df0b8.zip
git-17e5bcab715339a24b573ebc28349b9a9a3df0b8.tar.gz
git-17e5bcab715339a24b573ebc28349b9a9a3df0b8.tar.bz2
Merge branch 'sb/doc-submodule-sync-recursive' into maint
* sb/doc-submodule-sync-recursive: document submodule sync --recursive
-rw-r--r--Documentation/git-submodule.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/git-submodule.txt b/Documentation/git-submodule.txt
index f17687e..1572f05 100644
--- a/Documentation/git-submodule.txt
+++ b/Documentation/git-submodule.txt
@@ -237,6 +237,9 @@ sync::
+
"git submodule sync" synchronizes all submodules while
"git submodule sync \-- A" synchronizes submodule "A" only.
++
+If `--recursive` is specified, this command will recurse into the
+registered submodules, and sync any nested submodules within.
OPTIONS
-------
@@ -364,7 +367,7 @@ the submodule itself.
for linkgit:git-clone[1]'s `--reference` and `--shared` options carefully.
--recursive::
- This option is only valid for foreach, update and status commands.
+ This option is only valid for foreach, update, status and sync commands.
Traverse submodules recursively. The operation is performed not
only in the submodules of the current repo, but also
in any nested submodules inside those submodules (and so on).