| 1331 | } |
| 1332 | |
| 1333 | static 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 | |
| 1342 | static char *get_ref_match(const struct refspec *rs, const struct ref *ref, |
| 1343 | int send_mirror, int direction, |
no test coverage detected