diff options
author | Jeff King <peff@peff.net> | 2017-03-28 15:48:10 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-30 14:59:50 -0700 |
commit | 6a97da396470cb85e289a4810326fd7f50062b96 (patch) | |
tree | 9583d4c6d7220e867f4dfbd37d42687a386cd5d6 /tag.h | |
parent | gc: replace local buffer with git_path (diff) | |
download | tgif-6a97da396470cb85e289a4810326fd7f50062b96.tar.xz |
daemon: use an argv_array to exec children
Our struct child_process already has its own argv_array.
Let's use that to avoid having to format options into
separate buffers.
Note that we'll need to declare the child process outside of
the run_service_command() helper to do this. But that opens
up a further simplification, which is that the helper can
append to our argument list, saving each caller from
specifying "." manually.
Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'tag.h')
0 files changed, 0 insertions, 0 deletions