aboutsummaryrefslogtreecommitdiff
path: root/refs/iterator.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-02-23 12:59:39 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-23 13:21:18 -0800
commit635f08b7394b9dda013a0b78f4db11348dc7717b (patch)
tree388f143a626b9db6b373630de1abe7f3b32de59d /refs/iterator.c
parent8f0720a5a781562fb1f750b351e14129fc8930ea (diff)
downloadgit-635f08b7394b9dda013a0b78f4db11348dc7717b.tar.xz
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>
Diffstat (limited to 'refs/iterator.c')
-rw-r--r--refs/iterator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/iterator.c b/refs/iterator.c
index d79aa5ec82..d5cacde51b 100644
--- a/refs/iterator.c
+++ b/refs/iterator.c
@@ -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;