From: Phillip Wood Date: Wed, 12 Oct 2022 13:23:41 GMT Subject: Re: [PATCH v2 13/22] run-command API: make run_process_parallel{,_tr2}() thin wrappers Message-ID: <9b5346b6-157e-b323-1d49-19322793d05d@gmail.com> In-Reply-To: On 12/10/2022 10:01, Ævar Arnfjörð Bjarmason wrote: > - const struct run_process_parallel_opts opts = { > - .processes = processes, > - > - .get_next_task = get_next_task, > - .start_failure = start_failure, > - .task_finished = task_finished, > - > - .ungroup = run_processes_parallel_ungroup, > - }; [...] > + const struct run_process_parallel_opts opts = { > + .processes = processes, > + .ungroup = run_processes_parallel_ungroup, > + > + .get_next_task = get_next_task, > + .start_failure = start_failure, > + .task_finished = task_finished, > + }; > + > + run_processes_parallel_1(&opts, pp_cb); > } I complained before that this is moving things around that you added in the last commit, but not only are you moving the designated initializer added in the last commit you are rearranging it. Best Wishes Phillip