alloc: add repository argument to alloc_commit_node
[gitweb.git] / cache.h
diff --git a/cache.h b/cache.h
index 1717d07a2c5d18e4181cc5b4f5928ed69e94f089..bf6e8c87d83d1106abf99d7f26c0036e6f0a17f2 100644 (file)
--- a/cache.h
+++ b/cache.h
@@ -1768,7 +1768,8 @@ void encode_85(char *buf, const unsigned char *data, int bytes);
 extern void *alloc_blob_node_the_repository(void);
 #define alloc_tree_node(r) alloc_tree_node_##r()
 extern void *alloc_tree_node_the_repository(void);
-extern void *alloc_commit_node(void);
+#define alloc_commit_node(r) alloc_commit_node_##r()
+extern void *alloc_commit_node_the_repository(void);
 extern void *alloc_tag_node(void);
 extern void *alloc_object_node(void);
 extern void alloc_report(void);