mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Revert "add local tag in shallow clone"
This reverts commit 5c9f50b681.
This commit is contained in:
parent
5c9f50b681
commit
da180668ab
1 changed files with 0 additions and 1 deletions
|
|
@ -187,7 +187,6 @@ class Store:
|
||||||
git_config = 'protocol.version=2'
|
git_config = 'protocol.version=2'
|
||||||
git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1')
|
git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1')
|
||||||
git_cmd('checkout', 'FETCH_HEAD')
|
git_cmd('checkout', 'FETCH_HEAD')
|
||||||
git_cmd('tag', '-a', '-m', '""', ref, 'FETCH_HEAD')
|
|
||||||
git_cmd(
|
git_cmd(
|
||||||
'-c', git_config, 'submodule', 'update', '--init', '--recursive',
|
'-c', git_config, 'submodule', 'update', '--init', '--recursive',
|
||||||
'--depth=1',
|
'--depth=1',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue