summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-08-02 16:51:36 -0700
committerJunio C Hamano <gitster@pobox.com>2016-08-03 08:53:52 -0700
commitf6fb30a01d2373f36cbf2054be9ae1bf65475794 (patch)
tree1da32c807465f483442ae9f5e11f5d074904509b
parentabed000acafd8aa86e02bcbb65fc1a8e4f06b8a0 (diff)
downloadgit-sb/submodule-recommend-shallowness.tar.gz
gitmodules: document shallow recommendationsb/submodule-recommend-shallowness
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/gitmodules.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/gitmodules.txt b/Documentation/gitmodules.txt
index ac70eca321..b97b331ad5 100644
--- a/Documentation/gitmodules.txt
+++ b/Documentation/gitmodules.txt
@@ -79,6 +79,11 @@ submodule.<name>.ignore::
"--ignore-submodule" option. The 'git submodule' commands are not
affected by this setting.
+submodule.<name>.shallow::
+ When set to true, a clone of this submodule will be performed as a
+ shallow clone unless the user explicitely asks for a non-shallow
+ clone.
+
EXAMPLES
--------