refs: rename each_ref_fn

Similar to the preceding commit, rename `each_ref_fn` to better match
our current best practices around how we name things.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Patrick Steinhardt
2026-02-23 12:59:39 +01:00
committed by Junio C Hamano
parent 8f0720a5a7
commit 635f08b739
11 changed files with 50 additions and 50 deletions

View File

@@ -423,7 +423,7 @@ struct ref_iterator *prefix_ref_iterator_begin(struct ref_iterator *iter0,
}
int do_for_each_ref_iterator(struct ref_iterator *iter,
each_ref_fn fn, void *cb_data)
refs_for_each_cb fn, void *cb_data)
{
int retval = 0, ok;