aboutsummaryrefslogtreecommitdiff
path: root/obj_tree.go
diff options
context:
space:
mode:
Diffstat (limited to 'obj_tree.go')
-rw-r--r--obj_tree.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/obj_tree.go b/obj_tree.go
index 48121b0a..5336cbf2 100644
--- a/obj_tree.go
+++ b/obj_tree.go
@@ -9,7 +9,7 @@ import (
// Tree represents a Git tree object.
type Tree struct {
- objectBase
+ Hash Hash
Entries []TreeEntry
}
@@ -66,8 +66,8 @@ func parseTree(id Hash, body []byte) (*Tree, error) {
}
return &Tree{
- objectBase: objectBase{Hash: id},
- Entries: entries,
+ Hash: id,
+ Entries: entries,
}, nil
}