Git source should check out a commit before recursing submodules
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
Clone the remote, fetch by the commit, the recurse submodules.
### Why it needs to get done
Craft-parts currently clones a project, recursively fetches submodules, then checks out a specific commit. Fetching submodules before switching to the commit is incorrect and can fail.
@dariuszd21 can advise on this task as he has been working with these types of fetching scenarios.
source: @tomponline via https://github.com/canonical/lxd-pkg-snap/pull/594/files#r1831605307
Evaluation history
No evaluation history available.