| 450 | } |
| 451 | |
| 452 | static int run_service_command(struct child_process *cld) |
| 453 | { |
| 454 | strvec_push(&cld->args, "."); |
| 455 | cld->git_cmd = 1; |
| 456 | cld->err = -1; |
| 457 | if (start_command(cld)) |
| 458 | return -1; |
| 459 | |
| 460 | close(0); |
| 461 | close(1); |
| 462 | |
| 463 | copy_to_log(cld->err); |
| 464 | |
| 465 | return finish_command(cld); |
| 466 | } |
| 467 | |
| 468 | static int upload_pack(const struct strvec *env) |
| 469 | { |
no test coverage detected