MCPcopy Create free account
hub / github.com/git/git / run_service_command

Function run_service_command

daemon.c:452–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452static 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
468static int upload_pack(const struct strvec *env)
469{

Callers 3

upload_packFunction · 0.85
upload_archiveFunction · 0.85
receive_packFunction · 0.85

Calls 4

strvec_pushFunction · 0.85
start_commandFunction · 0.85
copy_to_logFunction · 0.85
finish_commandFunction · 0.85

Tested by

no test coverage detected