summaryrefslogtreecommitdiff
path: root/builtin/fetch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-08-26 21:37:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-08-27 15:32:16 (GMT)
commitc0e190c168becfd7d6c27cd868542295bd474742 (patch)
tree729a0334efd3b0ff76e2883606ffead7fc39b09a /builtin/fetch.c
parent7cff3b67aca11f757fb36ac58a89ae54bcb5b19e (diff)
downloadgit-c0e190c168becfd7d6c27cd868542295bd474742.zip
git-c0e190c168becfd7d6c27cd868542295bd474742.tar.gz
git-c0e190c168becfd7d6c27cd868542295bd474742.tar.bz2
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/fetch.c')
0 files changed, 0 insertions, 0 deletions