Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
alloc: add repository argument to alloc_tree_node
[gitweb.git]
/
tree.c
diff --git
a/tree.c
b/tree.c
index 63730e3fb46e47872bddce714cba96c0af3a7d9c..58cf19b4fa8e77a25cf64b4316f429d59978c33e 100644
(file)
--- a/
tree.c
+++ b/
tree.c
@@
-197,7
+197,7
@@
struct tree *lookup_tree(const struct object_id *oid)
struct object *obj = lookup_object(oid->hash);
if (!obj)
return create_object(the_repository, oid->hash,
- alloc_tree_node());
+ alloc_tree_node(
the_repository
));
return object_as_type(obj, OBJ_TREE, 0);
}