mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-14 17:41:45 +04:00
lint fix
This commit is contained in:
parent
55f9ae755e
commit
8fd50fcc98
1 changed files with 4 additions and 1 deletions
|
|
@ -186,7 +186,10 @@ class Store:
|
|||
|
||||
git_config = 'protocol.version=2'
|
||||
git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1')
|
||||
git_cmd('-c', git_config, 'fetch', 'origin', f'refs/tags/{ref}:refs/tags/{ref}', '--depth=1', check=False)
|
||||
git_cmd(
|
||||
'-c', git_config, 'fetch', 'origin',
|
||||
f'refs/tags/{ref}:refs/tags/{ref}', '--depth=1', check=False,
|
||||
)
|
||||
git_cmd('checkout', 'FETCH_HEAD')
|
||||
git_cmd(
|
||||
'-c', git_config, 'submodule', 'update', '--init', '--recursive',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue