threads / patch / 45741

patchgitmodules: clarify what history depth a shallow clone has

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

## tl;dr

2 messages between Apr 19, 2017 and Apr 19, 2017. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Sebastian Schuberth· Apr 19, 2017, 07:56 UTC · lore
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
---
 Documentation/gitmodules.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/gitmodules.txt +2 −3
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· Apr 19, 2017, 16:48 UTC · re: Sebastian Schuberth · lore

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

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

Show 22 quoted lines
> ---
>  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

← back to recent threads