From da180668ab832432a4cf9b269a651319e818e27a Mon Sep 17 00:00:00 2001 From: gnought <1684105+gnought@users.noreply.github.com> Date: Sat, 14 Feb 2026 21:32:58 +0800 Subject: [PATCH] Revert "add local tag in shallow clone" This reverts commit 5c9f50b681300c71363b581d6b895565b78eab90. --- pre_commit/store.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pre_commit/store.py b/pre_commit/store.py index df811479..dc90c051 100644 --- a/pre_commit/store.py +++ b/pre_commit/store.py @@ -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',