summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2016-08-02 16:51:36 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-08-03 08:53:52 -0700
commitf6fb30a01d2373f36cbf2054be9ae1bf65475794 (patch)
tree1da32c807465f483442ae9f5e11f5d074904509b
parentsubmodule update: learn `--[no-]recommend-shallow` option (diff)
downloadtgif-f6fb30a01d2373f36cbf2054be9ae1bf65475794.tar.xz
gitmodules: document shallow recommendation
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
--------