From a2dbcf95c2a9393efa95477431b97c8ab9ff036e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 15 Jan 2026 18:04:45 +0800 Subject: loose/pack: Remove commented-out verifyTypedObject It's not supposed to be used there anyway --- loose.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'loose.go') 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 } -- cgit v1.3.1-10-gc9f91