diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-02-23 12:59:47 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-23 13:21:19 -0800 |
| commit | 5ef6d593f18ac6b1e7540eed45f5d795d5a82faa (patch) | |
| tree | c4bfdda9f17e3d4c7bb80206a962c9f59b3c5e56 /refs.c | |
| parent | 67034081adc956c4dc8b51f59a9b70b8861c4642 (diff) | |
| download | git-5ef6d593f18ac6b1e7540eed45f5d795d5a82faa.tar.xz | |
refs: replace `refs_for_each_rawref_in()`
Replace calls to `refs_for_each_rawref_in()` with the newly introduced
`refs_for_each_ref_ext()` function.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
| -rw-r--r-- | refs.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -1982,16 +1982,6 @@ int refs_for_each_namespaced_ref(struct ref_store *refs, return refs_for_each_ref_ext(refs, cb, cb_data, &opts); } -int refs_for_each_rawref_in(struct ref_store *refs, const char *prefix, - refs_for_each_cb cb, void *cb_data) -{ - struct refs_for_each_ref_options opts = { - .prefix = prefix, - .flags = REFS_FOR_EACH_INCLUDE_BROKEN, - }; - return refs_for_each_ref_ext(refs, cb, cb_data, &opts); -} - static int qsort_strcmp(const void *va, const void *vb) { const char *a = *(const char **)va; |
