use args member of struct child_process
commita2bae2dce1fc2fe14894d46e01ee093b5704941a
authorRené Scharfe <l.s.r@web.de>
Sun, 9 Nov 2014 13:49:54 +0000 (9 14:49 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 10 Nov 2014 18:04:13 +0000 (10 10:04 -0800)
treebdfe7e308cd3254f6edd466167c48ac4efa44cf7
parent66edfe9ddc29102fa39edd37f9aecccbaca6a013
use args member of struct child_process

Convert users of struct child_process to using the managed argv_array
args instead of providing their own.  This shortens the code a bit and
ensures that the allocated memory is released automatically after use.

Suggested-by: Jeff King <peff@peff.net>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c
wt-status.c