summaryrefslogtreecommitdiff
path: root/builtin/diff-index.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-08-26 14:37:39 -0700
committerJunio C Hamano <gitster@pobox.com>2020-08-27 08:32:16 -0700
commitc0e190c168becfd7d6c27cd868542295bd474742 (patch)
tree729a0334efd3b0ff76e2883606ffead7fc39b09a /builtin/diff-index.c
parent7cff3b67aca11f757fb36ac58a89ae54bcb5b19e (diff)
credential-cache: use child_process.args
As child_process structure has an embedded strvec args for formulating the command line, let's use it instead of using an out-of-line argv[] whose length needs to be maintained correctly. Also, when spawning a git subcommand, omit it from the command list and instead use the .git_cmd bit in the child_process structure. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff-index.c')
0 files changed, 0 insertions, 0 deletions