diff options
Diffstat (limited to 'object/parse.go')
| -rw-r--r-- | object/parse.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/object/parse.go b/object/parse.go index b488eb49..6a60407c 100644 --- a/object/parse.go +++ b/object/parse.go @@ -47,6 +47,8 @@ func ParseWithoutHeader(ty typ.Type, body []byte, objectFormat id.ObjectFormat) return commit.Parse(body, objectFormat) //nolint:wrapcheck case typ.TypeTag: panic("TODO") + case typ.TypeUnknown: + return nil, typ.ErrInvalidType default: return nil, typ.ErrInvalidType } |
