diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-02-23 12:59:39 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-23 13:21:18 -0800 |
| commit | 635f08b7394b9dda013a0b78f4db11348dc7717b (patch) | |
| tree | 388f143a626b9db6b373630de1abe7f3b32de59d /worktree.c | |
| parent | 8f0720a5a781562fb1f750b351e14129fc8930ea (diff) | |
| download | git-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 'worktree.c')
| -rw-r--r-- | worktree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.c b/worktree.c index 9308389cb6..bf8c54c04d 100644 --- a/worktree.c +++ b/worktree.c @@ -575,7 +575,7 @@ void strbuf_worktree_ref(const struct worktree *wt, strbuf_addstr(sb, refname); } -int other_head_refs(each_ref_fn fn, void *cb_data) +int other_head_refs(refs_for_each_cb fn, void *cb_data) { struct worktree **worktrees, **p; struct strbuf refname = STRBUF_INIT; |
