summaryrefslogtreecommitdiff
path: root/Documentation/gitmodules.txt
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2016-08-02 23:51:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-08-03 15:53:52 (GMT)
commitf6fb30a01d2373f36cbf2054be9ae1bf65475794 (patch)
tree1da32c807465f483442ae9f5e11f5d074904509b /Documentation/gitmodules.txt
parentabed000acafd8aa86e02bcbb65fc1a8e4f06b8a0 (diff)
downloadgit-f6fb30a01d2373f36cbf2054be9ae1bf65475794.zip
git-f6fb30a01d2373f36cbf2054be9ae1bf65475794.tar.gz
git-f6fb30a01d2373f36cbf2054be9ae1bf65475794.tar.bz2
gitmodules: document shallow recommendation
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitmodules.txt')
-rw-r--r--Documentation/gitmodules.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/gitmodules.txt b/Documentation/gitmodules.txt
index ac70eca..b97b331 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
--------