# \[PATCH\] gitmodules: document shallow recommendation

- From: Stefan Beller \<hidden\>
- Date: 2016-08-02 23:52:45 
- List: git
- Page: https://ratatoskr.run/git/2016/08/7687056

```text
Signed-off-by: Stefan Beller <redacted>
---

 This goes on top of origin/sb/submodule-recommend-shallowness.
 I just realized we had an extra page for all the configuration options,
 so let's keep that in sync.
 
 Thanks,
 Stefan 

 Documentation/gitmodules.txt | 5 +++++
 1 file changed, 5 insertions(+)

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
 --------
-- 
2.9.2.525.g1760797

```
