summaryrefslogtreecommitdiff
path: root/Documentation/git-pull.txt
diff options
context:
space:
mode:
authorDamien Robert <damien.olivier.robert@gmail.com>2020-04-06 13:57:08 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-04-06 20:42:43 (GMT)
commit4da9e99e6eaab24ef86c44642b0692669adacfeb (patch)
treebe9d1718b599a79fe373570523926471e1102f94 /Documentation/git-pull.txt
parentd09bc51428274bbb03669e4fb33f74b4edbe40dd (diff)
downloadgit-4da9e99e6eaab24ef86c44642b0692669adacfeb.zip
git-4da9e99e6eaab24ef86c44642b0692669adacfeb.tar.gz
git-4da9e99e6eaab24ef86c44642b0692669adacfeb.tar.bz2
doc: be more precise on (fetch|push).recurseSubmodules
The default value also depends on the value of submodule.recurse. Use this opportunity to correct some grammar mistakes in Documentation/config/fetch.txt signaled by Robert P. J. Day. Also mention `fetch.recurseSubmodules` in fetch-options.txt. In git-push.txt, `push.recurseSubmodules` is implicitly mentioned (by explaining how to disable it), so no need to add it there. Lastly add a link to `git-fetch` in `git-pull.txt` to explain the meaning of `--recurse-submodules` there. Signed-off-by: Damien Robert <damien.olivier.robert+git@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-pull.txt')
-rw-r--r--Documentation/git-pull.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/git-pull.txt b/Documentation/git-pull.txt
index dfb901f..47bc4a7 100644
--- a/Documentation/git-pull.txt
+++ b/Documentation/git-pull.txt
@@ -86,8 +86,7 @@ OPTIONS
--[no-]recurse-submodules[=yes|on-demand|no]::
This option controls if new commits of all populated submodules should
- be fetched and updated, too (see linkgit:git-config[1] and
- linkgit:gitmodules[5]).
+ be fetched and updated, too (see linkgit:git-fetch[1], linkgit:git-config[1] and linkgit:gitmodules[5]).
+
If the checkout is done via rebase, local submodule commits are rebased as well.
+