-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fetchers: git: add submodules and cloning depth support
Add two new options: "depths" and "submodules" to support recursive submodules cloning along with shallow clones. We need those two features together because projects with submodules tend to be large and it may be inefficient to download whole repositories. Also, as "depth" option forces git to download only one branch/revision, and switching branches with submodules can be tricky, we force git to download branch pointed by "rev" only. Signed-off-by: Volodymyr Babchuk <[email protected]>
- Loading branch information
Showing
2 changed files
with
49 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters