| 466 | } |
| 467 | |
| 468 | static int upload_pack(const struct strvec *env) |
| 469 | { |
| 470 | struct child_process cld = CHILD_PROCESS_INIT; |
| 471 | strvec_pushl(&cld.args, "upload-pack", "--strict", NULL); |
| 472 | strvec_pushf(&cld.args, "--timeout=%u", timeout); |
| 473 | |
| 474 | strvec_pushv(&cld.env, env->v); |
| 475 | |
| 476 | return run_service_command(&cld); |
| 477 | } |
| 478 | |
| 479 | static int upload_archive(const struct strvec *env) |
| 480 | { |
no test coverage detected