summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/refdb_fs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index 85444b692..9ee3568da 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -132,10 +132,6 @@ static int packed_parse_peel(
if (tag_ref == NULL)
goto corrupt;
- /* Ensure reference is a tag */
- if (git__prefixcmp(tag_ref->name, GIT_REFS_TAGS_DIR) != 0)
- goto corrupt;
-
if (buffer + GIT_OID_HEXSZ > buffer_end)
goto corrupt;