# [PATCH] gitmodules: document shallow recommendation

1 messages from 2016-08-02 to 2016-08-02. Participants: Stefan Beller.
Thread: https://gitlist.dev/t/42991

## Stefan Beller, 2016-08-02 23:51

Subject: [PATCH] gitmodules: document shallow recommendation
Message-ID: <20160802235136.27132-1-sbeller@google.com>
URL: https://gitlist.dev/e/20160802235136.27132-1-sbeller%40google.com

```
Signed-off-by: Stefan Beller <sbeller@google.com>
---

 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


```
