add: use struct argv_array in run_add_interactive()
authorFabian Ruch <bafain@gmail.com>
Sat, 15 Mar 2014 11:14:40 +0000 (12:14 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Mar 2014 19:47:29 +0000 (12:47 -0700)
run_add_interactive() in builtin/add.c manually computes array bounds
and allocates a static args array to build the add--interactive command
line, which is error-prone. Use the argv-array helper functions instead.

Signed-off-by: Fabian Ruch <bafain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found