Re: [PATCH v2 7/7] common: move alloc macros to common.h
Calvin Wan <calvinwan@google.com> writes:
Show 7 quoted lines
> alloc_nr, ALLOC_GROW, and ALLOC_GROW_BY are commonly used macros for
> dynamic array allocation. Moving these macros to common.h focuses
> alloc.[ch] to allocation for Git objects and additionally allows us to
> remove inclusions to alloc.h from files that solely used the above
> macros.
>
> Signed-off-by: Calvin Wan <calvinwan@google.com>
Ah, indeed, "alloc.h" was used for 2 different allocation-related
things. This change makes sense, of course.
Thanks for this patch set. Overall, it looks good (except for some minor
comments that I've given in other emails).