aboutsummaryrefslogtreecommitdiff
path: root/pack_pack.go
diff options
context:
space:
mode:
Diffstat (limited to 'pack_pack.go')
-rw-r--r--pack_pack.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pack_pack.go b/pack_pack.go
index d7b565f5..1ff4a705 100644
--- a/pack_pack.go
+++ b/pack_pack.go
@@ -70,10 +70,10 @@ func (repo *Repository) packReadAt(loc packlocation, want Hash) (StoredObject, e
return nil, err
}
data := body.Bytes()
- if !repo.verifyTypedObject(ty, data, want) {
- body.Release()
- return nil, ErrInvalidObject
- }
+ // if !repo.verifyTypedObject(ty, data, want) {
+ // body.Release()
+ // return nil, ErrInvalidObject
+ // }
obj, err := parseObjectBody(ty, want, data, repo)
body.Release()
return obj, err