aboutsummaryrefslogtreecommitdiff
path: root/loose.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-01-15 18:04:45 +0800
committerGravatar Runxi Yu2026-01-15 18:04:45 +0800
commita2dbcf95c2a9393efa95477431b97c8ab9ff036e (patch)
tree148bc6ed2d53a96225c0f71c4f59fd99e0ae86f0 /loose.go
parentREADME.md: Some updates (diff)
signatureNo 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.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/loose.go b/loose.go
index 991956a1..137f0c41 100644
--- a/loose.go
+++ b/loose.go
@@ -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
}