summaryrefslogtreecommitdiffstats
path: root/run-command.h
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2022-10-30 12:51:14 +0100
committerTaylor Blau <me@ttaylorr.com>2022-10-30 19:04:40 +0100
commit0e90673957f12adc1a84b13d3dfff02151e4a7a8 (patch)
tree737050f737be02089d750d4a291cc65421afc89b /run-command.h
parentuse child_process member "args" instead of string array variable (diff)
downloadgit-0e90673957f12adc1a84b13d3dfff02151e4a7a8.tar.xz
git-0e90673957f12adc1a84b13d3dfff02151e4a7a8.zip
use child_process members "args" and "env" directly
Build argument list and environment of child processes by using struct child_process and populating its members "args" and "env" directly instead of maintaining separate strvecs and letting run_command_v_opt() and friends populate these members. This is simpler, shorter and slightly more efficient. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Taylor Blau <me@ttaylorr.com>
Diffstat (limited to 'run-command.h')
0 files changed, 0 insertions, 0 deletions