| 1029 | } |
| 1030 | |
| 1031 | void free_refs(struct ref *ref) |
| 1032 | { |
| 1033 | struct ref *next; |
| 1034 | while (ref) { |
| 1035 | next = ref->next; |
| 1036 | free_one_ref(ref); |
| 1037 | ref = next; |
| 1038 | } |
| 1039 | } |
| 1040 | |
| 1041 | int count_refspec_match(const char *pattern, |
| 1042 | struct ref *refs, |
no test coverage detected