diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-08-26 21:37:39 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-08-27 15:32:16 (GMT) |
commit | c0e190c168becfd7d6c27cd868542295bd474742 (patch) | |
tree | 729a0334efd3b0ff76e2883606ffead7fc39b09a /builtin/fetch.c | |
parent | 7cff3b67aca11f757fb36ac58a89ae54bcb5b19e (diff) | |
download | git-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