summaryrefslogtreecommitdiff
path: root/test-run-command.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-03-04 13:46:30 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-04 13:46:30 -0800
commitbbe90e7950456bf1bb1ab17a9ee626f6fad7a7c6 (patch)
tree9492660cef03802ccee18d814bfed3d1aad5b1d5 /test-run-command.c
parentMerge branch 'jk/tighten-alloc' (diff)
parentrun-command: do not pass child process data into callbacks (diff)
downloadtgif-bbe90e7950456bf1bb1ab17a9ee626f6fad7a7c6.tar.xz
Merge branch 'sb/submodule-parallel-fetch'
Simplify the two callback functions that are triggered when the child process terminates to avoid misuse of the child-process structure that has already been cleaned up. * sb/submodule-parallel-fetch: run-command: do not pass child process data into callbacks
Diffstat (limited to 'test-run-command.c')
-rw-r--r--test-run-command.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/test-run-command.c b/test-run-command.c
index fbe0a27ef3..30a64a98dc 100644
--- a/test-run-command.c
+++ b/test-run-command.c
@@ -41,7 +41,6 @@ static int no_job(struct child_process *cp,
}
static int task_finished(int result,
- struct child_process *cp,
struct strbuf *err,
void *pp_cb,
void *pp_task_cb)