summaryrefslogtreecommitdiff
path: root/commit-graph.c
diff options
context:
space:
mode:
authorRené Scharfe <l.s.r@web.de>2024-05-26 22:16:50 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-27 08:55:59 -0700
commit36d900d2b0b861d4cb359ddbaa904de90336eb71 (patch)
treeae28f2c8a3eb46e8ef8cfe5ab720235a3c130a76 /commit-graph.c
parent786a3e4b8d754d2b14b1208b98eeb0a554ef19a8 (diff)
difftool: add env vars directly in run_file_diff()
Add the environment variables of the child process directly using strvec_push() instead of building an array out of them and then adding that using strvec_pushv(). The new code is shorter and avoids magic array index values and fragile array padding. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions