Skip to contentSkip to conversation

gitmodules: document shallow recommendation

PATCH New Stefan Beller 1 participant 1 message Aug 2, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gitmodules: document shallow recommendation

---

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(+)
Documentation/gitmodules.txt +5 -0
index ac70eca..b97b331 100644
@@ -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
 --------
Signature · 1 line
2.9.2.525.g1760797