Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-08-11 23:27:02 +0300
committerJunio C Hamano <gitster@pobox.com>2017-08-11 23:27:02 +0300
commit4a636e7682ad46a4fe8eef71ae7917e0d95585f4 (patch)
treef46d6a00184519749898a06227944b210f0262c4 /run-command.c
parenta6ca9ee9e0e30bc96afbdc7d99acf411fbf409c0 (diff)
parentc1e860f1dcd29495f98fc60d68f75151196335e6 (diff)
Merge branch 'js/run-process-parallel-api-fix'
API fix. * js/run-process-parallel-api-fix: run_processes_parallel: change confusing task_cb convention
Diffstat (limited to 'run-command.c')
-rw-r--r--run-command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/run-command.c b/run-command.c
index 9e36151bf9..b5e6eb37c0 100644
--- a/run-command.c
+++ b/run-command.c
@@ -1533,7 +1533,7 @@ static int pp_start_one(struct parallel_processes *pp)
if (start_command(&pp->children[i].process)) {
code = pp->start_failure(&pp->children[i].err,
pp->data,
- &pp->children[i].data);
+ pp->children[i].data);
strbuf_addbuf(&pp->buffered_output, &pp->children[i].err);
strbuf_reset(&pp->children[i].err);
if (code)
@@ -1601,7 +1601,7 @@ static int pp_collect_finished(struct parallel_processes *pp)
code = pp->task_finished(code,
&pp->children[i].err, pp->data,
- &pp->children[i].data);
+ pp->children[i].data);
if (code)
result = code;