commit | a2bae2dce1fc2fe14894d46e01ee093b5704941a | [log] [tgz] |
---|---|---|
author | René Scharfe <l.s.r@web.de> | Sun Nov 09 14:49:54 2014 +0100 |
committer | Junio C Hamano <gitster@pobox.com> | Mon Nov 10 10:04:13 2014 -0800 |
tree | bdfe7e308cd3254f6edd466167c48ac4efa44cf7 | |
parent | 66edfe9ddc29102fa39edd37f9aecccbaca6a013 [diff] |
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>