| 1531 | } |
| 1532 | |
| 1533 | static void prepare_ref_index(struct string_list *ref_index, struct ref *ref) |
| 1534 | { |
| 1535 | for ( ; ref; ref = ref->next) |
| 1536 | string_list_append_nodup(ref_index, ref->name)->util = ref; |
| 1537 | |
| 1538 | string_list_sort(ref_index); |
| 1539 | } |
| 1540 | |
| 1541 | /* |
| 1542 | * Given only the set of local refs, sanity-check the set of push |
no test coverage detected