aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>2022-10-12 23:02:28 +0200
committerJunio C Hamano <gitster@pobox.com>2022-10-12 14:12:41 -0700
commite39c9de8607cacee4cc5169c2e014bc59acbbcde (patch)
tree33a56a0cab0b204474f841270d5c226d5bc82372 /builtin/commit.c
parentrun-command API: move *_tr2() users to "run_processes_parallel()" (diff)
downloadgit-e39c9de8607cacee4cc5169c2e014bc59acbbcde.tar.gz
git-e39c9de8607cacee4cc5169c2e014bc59acbbcde.zip
run-command.c: make "struct parallel_processes" const if possible
Add a "const" to two "struct parallel_processes" parameters where we're not modifying anything in "pp". For kill_children() we'll call it from both the signal handler, and from run_processes_parallel() itself. Adding a "const" there makes it clear that we don't need to modify any state when killing our children. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions