run-command: inline prepare_run_command_v_opt()
commit1f87293d78a4b2bd9265bac49b14a6f1111918b8
authorRené Scharfe <l.s.r@web.de>
Tue, 19 Aug 2014 19:11:43 +0000 (19 21:11 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Aug 2014 16:56:12 +0000 (20 09:56 -0700)
treecc01bd38d3bc7c6cf88512cb06e592f53d3300c0
parent41e9bad75e05245859c013dadefc63166b9175c9
run-command: inline prepare_run_command_v_opt()

Merge prepare_run_command_v_opt() and its only caller.  This removes a
pointer indirection and allows to initialize the struct child_process
using CHILD_PROCESS_INIT.

Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c