From: Damien Robert Date: Fri, 28 Feb 2020 10:35:57 GMT Subject: [PATCH 3/4] doc: explain how to deactivate recurse.submodule completely Message-ID: <20200228103558.1684937-4-damien.olivier.robert+git@gmail.com> In-Reply-To: <20200228103558.1684937-1-damien.olivier.robert+git@gmail.com> Signed-off-by: Damien Robert --- Documentation/config/submodule.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/config/submodule.txt b/Documentation/config/submodule.txt index 5962f41ead..f4edc6cad0 100644 --- a/Documentation/config/submodule.txt +++ b/Documentation/config/submodule.txt @@ -62,6 +62,12 @@ submodule.recurse:: applies to all commands that have a `--recurse-submodules` option (`checkout`, `fetch`, `grep`, `pull`, `push`, `read-tree`, `reset`, `restore` and `switch`) except `clone` and `ls-files`. + When set to true, it can be deactivated by calling + `--no-recurse-submodules`. But note that since `submodule.recurse` + also applies to internal calls to git commands (issued by other git + commands), adding `--no-recurse-submodules` might not be enough to + completely turn off the effect of that config. A solution is to use + `git -c submodule.recurse=0` instead. Defaults to false. submodule.fetchJobs:: -- Patched on top of v2.25.1-377-g2d2118b814 (git version 2.25.1)