Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
alloc: add repository argument to alloc_object_node
[gitweb.git]
/
object.c
diff --git
a/object.c
b/object.c
index 91edc30770c60c9e64d9910460afc694027db717..b8c3f923c515cb24cb65947c0c24fead9b543e87 100644
(file)
--- a/
object.c
+++ b/
object.c
@@
-180,7
+180,7
@@
struct object *lookup_unknown_object(const unsigned char *sha1)
struct object *obj = lookup_object(sha1);
if (!obj)
obj = create_object(the_repository, sha1,
- alloc_object_node());
+ alloc_object_node(
the_repository
));
return obj;
}