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

Function push

remote-curl.c:1419–1430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1417}
1418
1419static int push(int nr_spec, const char **specs)
1420{
1421 struct discovery *heads = discover_refs("git-receive-pack", 1);
1422 int ret;
1423
1424 if (heads->proto_git)
1425 ret = push_git(heads, nr_spec, specs);
1426 else
1427 ret = push_dav(nr_spec, specs);
1428 free_discovery(heads);
1429 return ret;
1430}
1431
1432static void parse_push(struct strbuf *buf)
1433{

Callers 1

parse_pushFunction · 0.85

Calls 4

discover_refsFunction · 0.85
push_gitFunction · 0.85
push_davFunction · 0.85
free_discoveryFunction · 0.85

Tested by

no test coverage detected