mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Local repositories clone a blank repo
This commit is contained in:
parent
e704edb5e2
commit
f000241dcb
15 changed files with 156 additions and 121 deletions
|
|
@ -32,7 +32,7 @@ def _update_repo(repo_config, runner, tags_only):
|
|||
"""
|
||||
repo = Repository.create(repo_config, runner.store)
|
||||
|
||||
with cwd(repo.repo_path_getter.repo_path):
|
||||
with cwd(repo._repo_path):
|
||||
cmd_output('git', 'fetch')
|
||||
tag_cmd = ('git', 'describe', 'origin/master', '--tags')
|
||||
if tags_only:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue