exlinc / mdlr

MDLR ("Modular") gives you declarative and easy Git 'submodules without the pain of submodules'
Apache License 2.0
27 stars 2 forks source link

Allow setting git clone --depth #1

Open stanvarlamov opened 6 years ago

stanvarlamov commented 6 years ago

Git clone for deploys should run at default --depth 1 yet ensure that all dependencies are properly cloned.

Need a documented and tested way of cloning at minimal depth for deploys.

svarlamov commented 6 years ago

Currently you can set it in the mdr.yml file by adding depth: 1 to the dependency that you would like to control