aboutsummaryrefslogtreecommitdiff
path: root/pack_midx.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-17 00:00:00 +0000
committerGravatar Runxi Yu2025-11-17 00:00:00 +0000
commit18ef85f782bcd50511101331e1bc7de8764d731f (patch)
treef137653b8586d49ad3dd2e2e6c4ad93e88c1752a /pack_midx.go
parentrefs: resolvePackedRef shall return ErrNotFound when not finding refs (diff)
signature
Remove meaningless comment
Diffstat (limited to 'pack_midx.go')
-rw-r--r--pack_midx.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pack_midx.go b/pack_midx.go
index ec6cb924..748bdaf6 100644
--- a/pack_midx.go
+++ b/pack_midx.go
@@ -246,7 +246,6 @@ func (midx *multiPackIndex) lookup(id Hash) (packlocation, error) {
}
}
- // Verify hash size matches repository hash size
if id.size != midx.repo.hashSize {
return packlocation{}, fmt.Errorf("furgit: hash size mismatch: got %d, expected %d", id.size, midx.repo.hashSize)
}