]> git.ipfire.org Git - thirdparty/git.git/commit - run-command.c
run-command.c: use "opts->processes", not "pp->max_processes"
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Wed, 12 Oct 2022 21:02:32 +0000 (23:02 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Oct 2022 21:12:42 +0000 (14:12 -0700)
commit9f3df6c0487bde80626ea2f367f9850e1758720b
tree6e1ed8927c2fa2d890397be802b110dcb48d479c
parent2aa8d2259ffd477b5d8ff090c90b7d38910b4741
run-command.c: use "opts->processes", not "pp->max_processes"

Neither the "processes" nor "max_processes" members ever change after
their initialization, and they're always equivalent, but some existing
code used "pp->max_processes" when we were already passing the "opts"
to the function, let's use the "opts" directly instead.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
run-command.c