# [PATCH] submodule: indicate that 'submodule.recurse' doesn't apply to clone

2 messages from 2018-02-20 to 2018-02-21. Participants: Brandon Williams, Junio C Hamano.
Thread: https://gitlist.dev/t/47887

## Brandon Williams, 2018-02-20 20:29

Subject: [PATCH] submodule: indicate that 'submodule.recurse' doesn't apply to clone
Message-ID: <20180220202922.220568-1-bmwill@google.com>
URL: https://gitlist.dev/e/20180220202922.220568-1-bmwill%40google.com

```
Update the documentation for the 'submodule.recurse' config to identify
that the clone command does not respect it.

Signed-off-by: Brandon Williams <bmwill@google.com>
---
 Documentation/config.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/config.txt b/Documentation/config.txt
index f57e9cf10..59ff29d7a 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -3210,7 +3210,8 @@ submodule.active::
 
 submodule.recurse::
 	Specifies if commands recurse into submodules by default. This
-	applies to all commands that have a `--recurse-submodules` option.
+	applies to all commands that have a `--recurse-submodules` option,
+	except `clone`.
 	Defaults to false.
 
 submodule.fetchJobs::
-- 
2.16.1.291.g4437f3f132-goog


```

## Junio C Hamano, 2018-02-21 18:44

Subject: Re: [PATCH] submodule: indicate that 'submodule.recurse' doesn't apply to clone
Message-ID: <xmqqlgfmyyg1.fsf@gitster-ct.c.googlers.com>
URL: https://gitlist.dev/e/xmqqlgfmyyg1.fsf%40gitster-ct.c.googlers.com
In-Reply-To: <20180220202922.220568-1-bmwill@google.com>

```
Brandon Williams <bmwill@google.com> writes:

> Update the documentation for the 'submodule.recurse' config to identify
> that the clone command does not respect it.
>
> Signed-off-by: Brandon Williams <bmwill@google.com>
> ---
>  Documentation/config.txt | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Thanks.

> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index f57e9cf10..59ff29d7a 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -3210,7 +3210,8 @@ submodule.active::
>  
>  submodule.recurse::
>  	Specifies if commands recurse into submodules by default. This
> -	applies to all commands that have a `--recurse-submodules` option.
> +	applies to all commands that have a `--recurse-submodules` option,
> +	except `clone`.
>  	Defaults to false.
>  
>  submodule.fetchJobs::

```
