summaryrefslogtreecommitdiff
path: root/test-subprocess.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2014-11-09 14:49:54 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-11-10 10:04:13 -0800
commita2bae2dce1fc2fe14894d46e01ee093b5704941a (patch)
treebdfe7e308cd3254f6edd466167c48ac4efa44cf7 /test-subprocess.c
parentGit 2.2.0-rc1 (diff)
downloadtgif-a2bae2dce1fc2fe14894d46e01ee093b5704941a.tar.xz
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>
Diffstat (limited to 'test-subprocess.c')
0 files changed, 0 insertions, 0 deletions