diff options
| author | 2026-01-15 18:04:45 +0800 | |
|---|---|---|
| committer | 2026-01-15 18:04:45 +0800 | |
| commit | a2dbcf95c2a9393efa95477431b97c8ab9ff036e (patch) | |
| tree | 148bc6ed2d53a96225c0f71c4f59fd99e0ae86f0 /pack_pack.go | |
| parent | README.md: Some updates (diff) | |
| signature | No signature | |
loose/pack: Remove commented-out verifyTypedObject
It's not supposed to be used there anyway
Diffstat (limited to 'pack_pack.go')
| -rw-r--r-- | pack_pack.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pack_pack.go b/pack_pack.go index e85c65eb..8d0bb11f 100644 --- a/pack_pack.go +++ b/pack_pack.go @@ -53,10 +53,6 @@ func (repo *Repository) packReadAt(loc packlocation, want Hash) (ObjectType, buf if err != nil { return ObjectTypeInvalid, bufpool.Buffer{}, err } - // if !repo.verifyTypedObject(ty, body.Bytes(), want) { - // body.Release() - // return ObjectTypeInvalid, bufpool.Buffer{}, ErrInvalidObject - // } return ty, body, nil } |
