| 487 | } |
| 488 | |
| 489 | static int receive_pack(const struct strvec *env) |
| 490 | { |
| 491 | struct child_process cld = CHILD_PROCESS_INIT; |
| 492 | strvec_push(&cld.args, "receive-pack"); |
| 493 | |
| 494 | strvec_pushv(&cld.env, env->v); |
| 495 | |
| 496 | return run_service_command(&cld); |
| 497 | } |
| 498 | |
| 499 | static struct daemon_service daemon_service[] = { |
| 500 | { "upload-archive", "uploadarch", upload_archive, 0, 1 }, |
nothing calls this directly
no test coverage detected