diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-02-23 12:59:38 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-23 13:21:18 -0800 |
| commit | 8f0720a5a781562fb1f750b351e14129fc8930ea (patch) | |
| tree | b04b6079ab2f73b86e2225d4b9d1ac279bf120e6 /ref-filter.c | |
| parent | 1c3aff34b88f132ba3d489dbd9ff30f2604bb871 (diff) | |
| download | git-8f0720a5a781562fb1f750b351e14129fc8930ea.tar.xz | |
refs: rename `do_for_each_ref_flags`
The enum `do_for_each_ref_flags` and its individual values don't match
to our current best practices when it comes to naming things. Rename it
to `refs_for_each_flag`.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'ref-filter.c')
| -rw-r--r-- | ref-filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ref-filter.c b/ref-filter.c index 3917c4ccd9..4bc54ebd9d 100644 --- a/ref-filter.c +++ b/ref-filter.c @@ -2810,7 +2810,7 @@ static int for_each_fullref_in_pattern(struct ref_filter *filter, if (filter->kind & FILTER_REFS_ROOT_REFS) { /* In this case, we want to print all refs including root refs. */ return for_each_fullref_with_seek(filter, cb, cb_data, - DO_FOR_EACH_INCLUDE_ROOT_REFS); + REFS_FOR_EACH_INCLUDE_ROOT_REFS); } if (!filter->match_as_path) { |
