aboutsummaryrefslogtreecommitdiff
path: root/object/parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'object/parse.go')
-rw-r--r--object/parse.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/object/parse.go b/object/parse.go
index bbede773..81996206 100644
--- a/object/parse.go
+++ b/object/parse.go
@@ -9,6 +9,7 @@ import (
"lindenii.org/go/furgit/object/header"
"lindenii.org/go/furgit/object/id"
"lindenii.org/go/furgit/object/tag"
+ "lindenii.org/go/furgit/object/tree"
"lindenii.org/go/furgit/object/typ"
)
@@ -43,7 +44,7 @@ func ParseWithoutHeader(ty typ.Type, body []byte, objectFormat id.ObjectFormat)
case typ.TypeBlob:
return blob.Parse(body) //nolint:wrapcheck
case typ.TypeTree:
- panic("TODO")
+ return tree.Parse(body, objectFormat) //nolint:wrapcheck
case typ.TypeCommit:
return commit.Parse(body, objectFormat) //nolint:wrapcheck
case typ.TypeTag: