Adding git depth for submodules
What does this MR do?
Allow for adding the experimental GIT_DEPTH to be applied to submodules to. This feature was introduced for the main repo in !188 (merged)
Why was this MR needed?
In our company we use git submodule extensively and the GIT_DEPTH feature would be nice to decrease the cloning time. Today it only applies to the origin repository but not to the submodules, this MR should add the last.
Are there points in the code the reviewer needs to double check?
Not that I know of
Does this MR meet the acceptance criteria?
-
Documentation created/updated -
Added tests for this feature/bug -
In case of conflicts with master- branch was rebased
What are the relevant issue numbers?
Edited by Nico Bollen