This allows cloning subprojects shallowly. It works recursively for a subproject's submodules in case `clone-recursive` is set to `true`.pull/5702/head
parent
a65d5801f3
commit
0008b326ff
3 changed files with 27 additions and 7 deletions
@ -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. |
Loading…
Reference in new issue