| 1963 | } |
| 1964 | |
| 1965 | int refs_for_each_replace_ref(struct ref_store *refs, refs_for_each_cb cb, void *cb_data) |
| 1966 | { |
| 1967 | const char *git_replace_ref_base = ref_namespace[NAMESPACE_REPLACE].ref; |
| 1968 | struct refs_for_each_ref_options opts = { |
| 1969 | .prefix = git_replace_ref_base, |
| 1970 | .trim_prefix = strlen(git_replace_ref_base), |
| 1971 | .flags = REFS_FOR_EACH_INCLUDE_BROKEN, |
| 1972 | }; |
| 1973 | return refs_for_each_ref_ext(refs, cb, cb_data, &opts); |
| 1974 | } |
| 1975 | |
| 1976 | static int qsort_strcmp(const void *va, const void *vb) |
| 1977 | { |
no test coverage detected