source-depth should propagate to git submodules
Bug #1965792 reported by
Isaac True
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
Currently, specifying "source-depth: 1" only does a shallow checkout of the root repository. If there are any submodules, the entire submodule history is checked out. In a repository consisting largely of submodues (e.g. https:/
Proposition: if "source-depth" is specified, "--depth" should also be added to the "git submodule update" command.
To post a comment you must log in.