]> git.ipfire.org Git - thirdparty/git.git/commit
run_command: teach API users to use embedded 'args' more
authorJunio C Hamano <gitster@pobox.com>
Wed, 26 Aug 2020 22:25:03 +0000 (15:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 26 Aug 2020 22:32:37 +0000 (15:32 -0700)
commitafbdba391eaf3c473eff8f12437ff510935b520f
tree06acc6a781e2c598873943ee407513a60ef7a3db
parent47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
run_command: teach API users to use embedded 'args' more

The child_process structure has an embedded strvec for formulating
the command line argument list these days, but code that predates
the wide use of it prepared a separate char *argv[] array and
manually set the child_process.argv pointer point at it.

Teach these old-style code to lose the separate argv[] array.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
convert.c
credential.c
submodule.c
trailer.c