use args member of struct child_process
authorRené Scharfe <redacted>
Sun, 9 Nov 2014 13:49:54 +0000 (14:49 +0100)
committerJunio C Hamano <redacted>
Mon, 10 Nov 2014 18:04:13 +0000 (10:04 -0800)
commita2bae2dce1fc2fe14894d46e01ee093b5704941a
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 <redacted>
Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/repack.c
wt-status.c
git clone https://git.99rst.org/PROJECT