Replace custom memory growth allocator with ALLOC_GROW
commit7a2bff45937a60d846abf3ccb42015539aedcb40
authorShawn O. Pearce <spearce@spearce.org>
Fri, 14 Sep 2007 07:31:18 +0000 (14 03:31 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Sep 2007 10:22:30 +0000 (19 03:22 -0700)
tree05e1b2a563b3947195b1cc6c522790af18272cbd
parentf1ae391e17be638a14c7505598b73430dbf328f1
Replace custom memory growth allocator with ALLOC_GROW

The ALLOC_GROW macro is a shorter way to implement an array that
grows upon demand as additional items are added to it.  We have
mostly standardized upon its use within git and transport.c is
not an exception.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c