# [PATCH] gitmodules: clarify what history depth a shallow clone has

2 messages from 2017-04-19 to 2017-04-19. Participants: Sebastian Schuberth, Stefan Beller.
Thread: https://gitlist.dev/t/45741

## Sebastian Schuberth, 2017-04-19 07:56

Subject: [PATCH] gitmodules: clarify what history depth a shallow clone has
Message-ID: <0102015b853681c6-2fb6f9ce-28dc-4ca8-82de-d5fbff10d3af-000000@eu-west-1.amazonses.com>
URL: https://gitlist.dev/e/0102015b853681c6-2fb6f9ce-28dc-4ca8-82de-d5fbff10d3af-000000%40eu-west-1.amazonses.com

```
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
---
 Documentation/gitmodules.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/gitmodules.txt b/Documentation/gitmodules.txt
index 8f7c50f..6f39f24 100644
--- a/Documentation/gitmodules.txt
+++ b/Documentation/gitmodules.txt
@@ -84,8 +84,8 @@ submodule.<name>.ignore::
 
 submodule.<name>.shallow::
 	When set to true, a clone of this submodule will be performed as a
-	shallow clone unless the user explicitly asks for a non-shallow
-	clone.
+	shallow clone (with a history depth of 1) unless the user explicitly
+	asks for a non-shallow clone.
 
 
 EXAMPLES

--
https://github.com/git/git/pull/347

```

## Stefan Beller, 2017-04-19 16:48

Subject: Re: [PATCH] gitmodules: clarify what history depth a shallow clone has
Message-ID: <CAGZ79kZxH+5bpFpiXqac=gKEjg+3rsyzH4G5z=KL0mSorcmj8g@mail.gmail.com>
URL: https://gitlist.dev/e/CAGZ79kZxH%2B5bpFpiXqac%3DgKEjg%2B3rsyzH4G5z%3DKL0mSorcmj8g%40mail.gmail.com
In-Reply-To: <0102015b853681c6-2fb6f9ce-28dc-4ca8-82de-d5fbff10d3af-000000@eu-west-1.amazonses.com>

```
On Wed, Apr 19, 2017 at 12:56 AM, Sebastian Schuberth
<sschuberth@gmail.com> wrote:
> Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>

Thanks,
Stefan

> ---
>  Documentation/gitmodules.txt | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/gitmodules.txt b/Documentation/gitmodules.txt
> index 8f7c50f..6f39f24 100644
> --- a/Documentation/gitmodules.txt
> +++ b/Documentation/gitmodules.txt
> @@ -84,8 +84,8 @@ submodule.<name>.ignore::
>
>  submodule.<name>.shallow::
>         When set to true, a clone of this submodule will be performed as a
> -       shallow clone unless the user explicitly asks for a non-shallow
> -       clone.
> +       shallow clone (with a history depth of 1) unless the user explicitly
> +       asks for a non-shallow clone.
>
>
>  EXAMPLES
>
> --
> https://github.com/git/git/pull/347

```
