Re: [PATCHv2 2/5] submodule: modernize ok_to_remove_submodule to use argv_array

2016-12-14 Thread Junio C Hamano
Stefan Beller writes: > Instead of constructing the NULL terminated array ourselves, we > should make use of the argv_array infrastructure. > > While at it, adapt the error messages to reflect the actual invocation. > > Signed-off-by: Stefan Beller > --- > submodule.c | 14 -- > 1 f

[PATCHv2 2/5] submodule: modernize ok_to_remove_submodule to use argv_array

2016-12-13 Thread Stefan Beller
Instead of constructing the NULL terminated array ourselves, we should make use of the argv_array infrastructure. While at it, adapt the error messages to reflect the actual invocation. Signed-off-by: Stefan Beller --- submodule.c | 14 -- 1 file changed, 4 insertions(+), 10 deletio