| 1523 | } |
| 1524 | |
| 1525 | struct ref *find_ref_by_name(const struct ref *list, const char *name) |
| 1526 | { |
| 1527 | for ( ; list; list = list->next) |
| 1528 | if (!strcmp(list->name, name)) |
| 1529 | return (struct ref *)list; |
| 1530 | return NULL; |
| 1531 | } |
| 1532 | |
| 1533 | static void prepare_ref_index(struct string_list *ref_index, struct ref *ref) |
| 1534 | { |
no outgoing calls
no test coverage detected