diffcore-rename.c: use ALLOC_GROW()
commit337ce247e35b88e8413ab80b43d9ce47729c8136
authorDmitry S. Dolzhenko <dmitrys.dolzhenko@yandex.ru>
Mon, 3 Mar 2014 22:31:54 +0000 (4 02:31 +0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Mar 2014 22:49:02 +0000 (3 14:49 -0800)
treea922c3b2ddc5a75b8169102f118c2b359b5f75c5
parent4c960a432cac32a76764c5970e323c294153cec7
diffcore-rename.c: use ALLOC_GROW()

Use ALLOC_GROW() instead of open-coding it in locate_rename_dst()
and register_rename_src().

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