mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
commit
dca264d367
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue