Re: [PATCH v2 1/8] alloc.c: remove the alloc_raw_commit_node() function

2014-07-15 Thread Junio C Hamano
Jeff King writes: > #define DEFINE_ALLOCATOR(name, type) \ > +static struct alloc_state name##_state; \ > void *alloc_##name##_node(void) \ > {\

[PATCH v2 1/8] alloc.c: remove the alloc_raw_commit_node() function

2014-07-12 Thread Jeff King
From: Ramsay Jones In order to encapsulate the setting of the unique commit index, commit 969eba63 ("commit: push commit_index update into alloc_commit_node", 10-06-2014) introduced a (logically private) intermediary allocator function. However, this function (alloc_raw_commit_node()) was declare