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

Function receive_pack

daemon.c:489–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487}
488
489static 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
499static struct daemon_service daemon_service[] = {
500 { "upload-archive", "uploadarch", upload_archive, 0, 1 },

Callers

nothing calls this directly

Calls 3

strvec_pushFunction · 0.85
strvec_pushvFunction · 0.85
run_service_commandFunction · 0.85

Tested by

no test coverage detected