From 1dd4f1e43f8f11ebb13c1b9edbd91219a134443d Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Mon, 23 Feb 2026 12:59:51 +0100 Subject: refs: replace `refs_for_each_fullref_in()` Replace calls to `refs_for_each_fullref_in()` with the newly introduced `refs_for_each_ref_ext()` function. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- refs.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'refs.h') diff --git a/refs.h b/refs.h index 1b468c4ffb..9b5d57a9b7 100644 --- a/refs.h +++ b/refs.h @@ -510,14 +510,6 @@ int refs_for_each_remote_ref(struct ref_store *refs, int refs_for_each_replace_ref(struct ref_store *refs, refs_for_each_cb fn, void *cb_data); -/* - * references matching any pattern in "exclude_patterns" are omitted from the - * result set on a best-effort basis. - */ -int refs_for_each_fullref_in(struct ref_store *refs, const char *prefix, - const char **exclude_patterns, - refs_for_each_cb fn, void *cb_data); - /** * Iterate all refs in "prefixes" by partitioning prefixes into disjoint sets * and iterating the longest-common prefix of each set. -- cgit v1.3