diff options
author | Jeff King <peff@peff.net> | 2017-03-28 19:48:10 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-03-30 21:59:50 (GMT) |
commit | 6a97da396470cb85e289a4810326fd7f50062b96 (patch) | |
tree | 9583d4c6d7220e867f4dfbd37d42687a386cd5d6 /builtin/replace.c | |
parent | 07af88913662f1179ba34b92370a6df24263ae5f (diff) | |
download | git-6a97da396470cb85e289a4810326fd7f50062b96.zip git-6a97da396470cb85e289a4810326fd7f50062b96.tar.gz git-6a97da396470cb85e289a4810326fd7f50062b96.tar.bz2 |
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 'builtin/replace.c')
0 files changed, 0 insertions, 0 deletions