MCPcopy Index your code
hub / github.com/git/git / fetch

Function fetch

remote-curl.c:1258–1265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1256}
1257
1258static int fetch(int nr_heads, struct ref **to_fetch)
1259{
1260 struct discovery *d = discover_refs("git-upload-pack", 0);
1261 if (d->proto_git)
1262 return fetch_git(d, nr_heads, to_fetch);
1263 else
1264 return fetch_dumb(nr_heads, to_fetch);
1265}
1266
1267static void parse_fetch(struct strbuf *buf)
1268{

Callers 1

parse_fetchFunction · 0.70

Calls 3

discover_refsFunction · 0.85
fetch_gitFunction · 0.85
fetch_dumbFunction · 0.85

Tested by

no test coverage detected