From 0008b326ffc39c86be2ae4352bdddc03f01840cc Mon Sep 17 00:00:00 2001 From: Christoph Weiss Date: Wed, 18 Sep 2019 08:45:46 +0200 Subject: Add support for `depth` option in wrap-git This allows cloning subprojects shallowly. It works recursively for a subproject's submodules in case `clone-recursive` is set to `true`. --- docs/markdown/snippets/depth.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/markdown/snippets/depth.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/depth.md b/docs/markdown/snippets/depth.md new file mode 100644 index 0000000..bdb032c --- /dev/null +++ b/docs/markdown/snippets/depth.md @@ -0,0 +1,7 @@ +## Add `depth` option to `wrap-git` + +To allow shallow cloning, an option `depth` has been added to `wrap-git`. +This applies recursively to submodules when `clone-recursive` is set to `true`. + +Note that the git server may have to be configured to support shallow cloning +not only for branches but also for tags. -- cgit v1.1