Fix ALLOC_GROW calls with obsolete semantics
commit25fd2f7a310df17dca298a3acf2aba716ceb8ce3
authorJeff King <peff@peff.net>
Sat, 16 Jun 2007 22:43:40 +0000 (16 18:43 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Jun 2007 01:00:07 +0000 (16 18:00 -0700)
tree12e7f2710c91969b0d9aebb9d8d8ab320459a586
parent1a15fed84a511b86feaed7731850a5629d76a97f
Fix ALLOC_GROW calls with obsolete semantics

ALLOC_GROW now expects the 'nr' argument to be "how much you
want" and not "how much you have". This fixes all cases
where we weren't previously adding anything to the 'nr'.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c