Revert "add local tag in shallow clone"

This reverts commit 5c9f50b681.
This commit is contained in:
gnought 2026-02-14 21:32:58 +08:00
parent 5c9f50b681
commit da180668ab
No known key found for this signature in database
GPG key ID: 04D7C0864CCDDF10

View file

@ -187,7 +187,6 @@ class Store:
git_config = 'protocol.version=2'
git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1')
git_cmd('checkout', 'FETCH_HEAD')
git_cmd('tag', '-a', '-m', '""', ref, 'FETCH_HEAD')
git_cmd(
'-c', git_config, 'submodule', 'update', '--init', '--recursive',
'--depth=1',