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

Function match_explicit_refs

remote.c:1333–1340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1331}
1332
1333static int match_explicit_refs(struct ref *src, struct ref *dst,
1334 struct ref ***dst_tail, struct refspec *rs)
1335{
1336 int i, errs;
1337 for (i = errs = 0; i < rs->nr; i++)
1338 errs += match_explicit(src, dst, dst_tail, &rs->items[i]);
1339 return errs;
1340}
1341
1342static char *get_ref_match(const struct refspec *rs, const struct ref *ref,
1343 int send_mirror, int direction,

Callers 1

match_push_refsFunction · 0.85

Calls 1

match_explicitFunction · 0.85

Tested by

no test coverage detected