Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
alloc: add repository argument to alloc_commit_node
[gitweb.git]
/
alloc.c
diff --git
a/alloc.c
b/alloc.c
index 2c8d1430758b973270b68e234387b36c29130b4b..9e2b897ec1dea281485402f1c55d87107cf52f50 100644
(file)
--- a/
alloc.c
+++ b/
alloc.c
@@
-88,7
+88,7
@@
unsigned int alloc_commit_index(void)
return count++;
}
-void *alloc_commit_node(void)
+void *alloc_commit_node
_the_repository
(void)
{
struct commit *c = alloc_node(&commit_state, sizeof(struct commit));
c->object.type = OBJ_COMMIT;