diff options
| author | 2026-01-15 18:04:45 +0800 | |
|---|---|---|
| committer | 2026-01-15 18:04:45 +0800 | |
| commit | a2dbcf95c2a9393efa95477431b97c8ab9ff036e (patch) | |
| tree | 148bc6ed2d53a96225c0f71c4f59fd99e0ae86f0 /loose.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 'loose.go')
| -rw-r--r-- | loose.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -79,9 +79,6 @@ func (repo *Repository) looseReadTyped(id Hash) (ObjectType, bufpool.Buffer, err copy(rawBytes, body) raw.Resize(len(body)) - // if !repo.verifyRawObject(raw, id) { - // return ObjectTypeInvalid, bufpool.Buffer{}, ErrInvalidObject - // } return ty, raw, nil } |
