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

Function upload_pack

daemon.c:468–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468static 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
479static int upload_archive(const struct strvec *env)
480{

Callers 1

cmd_upload_packFunction · 0.50

Calls 4

strvec_pushlFunction · 0.85
strvec_pushfFunction · 0.85
strvec_pushvFunction · 0.85
run_service_commandFunction · 0.85

Tested by

no test coverage detected