Skip to content

Commit f6fb30a

Browse files
stefanbellergitster
authored andcommitted
gitmodules: document shallow recommendation
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent abed000 commit f6fb30a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/gitmodules.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ submodule.<name>.ignore::
7979
"--ignore-submodule" option. The 'git submodule' commands are not
8080
affected by this setting.
8181

82+
submodule.<name>.shallow::
83+
When set to true, a clone of this submodule will be performed as a
84+
shallow clone unless the user explicitely asks for a non-shallow
85+
clone.
86+
8287

8388
EXAMPLES
8489
--------

0 commit comments

Comments
 (0)