diff options
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -196,7 +196,8 @@ struct tree *lookup_tree(const struct object_id *oid) { struct object *obj = lookup_object(oid->hash); if (!obj) - return create_object(oid->hash, alloc_tree_node()); + return create_object(the_repository, oid->hash, + alloc_tree_node()); return object_as_type(obj, OBJ_TREE, 0); } |