From: Fabian Ruch Date: Sat, 15 Mar 2014 11:14:40 +0000 (+0100) Subject: add: use struct argv_array in run_add_interactive() X-Git-Tag: v2.0.0-rc0~55^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c45a18e88f47fc9b23f8e8e7b14a030434917a66?ds=inline;hp=c45a18e88f47fc9b23f8e8e7b14a030434917a66 add: use struct argv_array in run_add_interactive() 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 Signed-off-by: Junio C Hamano ---