aboutsummaryrefslogtreecommitdiff
path: root/pack_idx.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-17 00:00:00 +0000
committerGravatar Runxi Yu2025-11-17 00:00:00 +0000
commitcb5dfd4896168d21c10cd4121cef96c05b9e8bbd (patch)
tree2bc7243f305b33db9e4296d98eaf1216328309a9 /pack_idx.go
parentCompute checksum when reading packfiles (diff)
signature
Remove an unnecessary blank line
Diffstat (limited to 'pack_idx.go')
-rw-r--r--pack_idx.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/pack_idx.go b/pack_idx.go
index 3cb89701..a9cb9056 100644
--- a/pack_idx.go
+++ b/pack_idx.go
@@ -261,7 +261,6 @@ func (pi *packIndex) lookup(id Hash) (packlocation, error) {
if err != nil {
return packlocation{}, err
}
- // Verify hash size matches repository hash size
if id.size != pi.repo.hashSize {
return packlocation{}, fmt.Errorf("furgit: hash size mismatch: got %d, expected %d", id.size, pi.repo.hashSize)
}