threads / patch / 42991

patchgitmodules: document shallow recommendation

Subject: [PATCH] gitmodules: document shallow recommendation

## tl;dr

One message between Aug 2, 2016 and Aug 2, 2016. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Stefan Beller· Aug 2, 2016, 23:51 UTC · lore
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(+)
Show changes to Documentation/gitmodules.txt +5 −0
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

← back to recent threads