By the way, this is my one disappointment with this API - I couldn't figure out a way to have `git_array_alloc()` directly return a pointer to the allocated item because the `git_array_grow` macro could not be invoked in an expression context.

Ooh, I just thought of a way to use an inline function to do the growth that allows me to change the macro to return the pointer. Let me update...