mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-05-11 19:10:22 -05:00
Local repositories clone a blank repo
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user