diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-04-28 15:50:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-28 15:50:01 -0700 |
commit | cc908dbc76adea39b2756c1091016e929c66689d (patch) | |
tree | e5f6b26d135a41a8721ad91ee06252e29e9e7bdd /Documentation/fetch-options.txt | |
parent | Merge branch 'jc/log-no-mailmap' (diff) | |
parent | doc: --recurse-submodules mostly applies to active submodules (diff) | |
download | tgif-cc908dbc76adea39b2756c1091016e929c66689d.tar.xz |
Merge branch 'dr/doc-recurse-submodules'
Documentation updates around the "--recurse-submodules" option.
* dr/doc-recurse-submodules:
doc: --recurse-submodules mostly applies to active submodules
doc: be more precise on (fetch|push).recurseSubmodules
doc: explain how to deactivate submodule.recurse completely
doc: document --recurse-submodules for reset and restore
doc: list all commands affected by submodule.recurse
Diffstat (limited to 'Documentation/fetch-options.txt')
-rw-r--r-- | Documentation/fetch-options.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt index 05709f67a1..6e2a160a47 100644 --- a/Documentation/fetch-options.txt +++ b/Documentation/fetch-options.txt @@ -163,7 +163,8 @@ ifndef::git-pull[] value. Use 'on-demand' to only recurse into a populated submodule when the superproject retrieves a commit that updates the submodule's reference to a commit that isn't already in the local submodule - clone. + clone. By default, 'on-demand' is used, unless + `fetch.recurseSubmodules` is set (see linkgit:git-config[1]). endif::git-pull[] -j:: |