diff.c: use ALLOC_GROW()
authorDmitry S. Dolzhenko <dmitrys.dolzhenko@yandex.ru>
Mon, 3 Mar 2014 22:31:53 +0000 (02:31 +0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Mar 2014 22:48:39 +0000 (14:48 -0800)
commit4c960a432cac32a76764c5970e323c294153cec7
tree26054318037fea9fe588157437400c0229a11574
parentd6e82b575a7dc16be03f67fc3c4b648bc18df09f
diff.c: use ALLOC_GROW()

Use ALLOC_GROW() instead of open-coding it in diffstat_add() and
diff_q().

Signed-off-by: Dmitry S. Dolzhenko <dmitrys.dolzhenko@yandex.ru>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c