Merge pull request #580 from gagern/patch-1

Initialize git submodules
This commit is contained in:
Anthony Sottile
2017-08-06 23:10:35 -04:00
committed by GitHub

View File

@@ -123,6 +123,10 @@ class Store(object):
)
with cwd(directory):
cmd_output('git', 'reset', ref, '--hard', env=no_git_env())
cmd_output(
'git', 'submodule', 'update', '--init', '--recursive',
env=no_git_env(),
)
return self._new_repo(repo, ref, clone_strategy)