]> git.ipfire.org Git - thirdparty/git.git/commit
submodule--helper: run update using child process struct
authorAtharva Raykar <raykar.ath@gmail.com>
Tue, 15 Mar 2022 21:09:19 +0000 (14:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 16 Mar 2022 22:07:43 +0000 (15:07 -0700)
commit3c3558f0953dea2151d2cac92c8148681f9ae9b6
treec58a03729a77af30099e422b76f28fc7455f5035
parentd23e51a23e81103a3f443df6f4eac5bdde74cdf3
submodule--helper: run update using child process struct

We switch to using the run-command API function that takes a
'struct child process', since we are using a lot of the options. This
will also make it simple to switch over to using 'capture_command()'
when we start handling the output of the command completely in C.

Mentored-by: Christian Couder <christian.couder@gmail.com>
Mentored-by: Shourya Shukla <periperidip@gmail.com>
Signed-off-by: Atharva Raykar <raykar.ath@gmail.com>
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/submodule--helper.c