summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-03-28 19:48:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-30 21:59:50 (GMT)
commit6a97da396470cb85e289a4810326fd7f50062b96 (patch)
tree9583d4c6d7220e867f4dfbd37d42687a386cd5d6 /builtin
parent07af88913662f1179ba34b92370a6df24263ae5f (diff)
downloadgit-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')
0 files changed, 0 insertions, 0 deletions