aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2026-02-23 12:59:50 +0100
committerJunio C Hamano <gitster@pobox.com>2026-02-23 13:21:19 -0800
commit96c35a9ba5f1b5afac1e30ca93815dcd540d8b16 (patch)
tree430eccac9fc2a8558e15f4ad56c788273c6f099b /refs.h
parent3fc1ad03c6243b44c2dcab480acaced44921b1c5 (diff)
downloadgit-96c35a9ba5f1b5afac1e30ca93815dcd540d8b16.tar.xz
refs: replace `refs_for_each_namespaced_ref()`
Replace calls to `refs_for_each_namespaced_ref()` with the newly introduced `refs_for_each_ref_ext()` function. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/refs.h b/refs.h
index b63775fa35..1b468c4ffb 100644
--- a/refs.h
+++ b/refs.h
@@ -528,14 +528,6 @@ int refs_for_each_ref_in_prefixes(struct ref_store *refs,
refs_for_each_cb cb, 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_namespaced_ref(struct ref_store *refs,
- const char **exclude_patterns,
- refs_for_each_cb fn, void *cb_data);
-
-/*
* Normalizes partial refs to their fully qualified form.
* Will prepend <prefix> to the <pattern> if it doesn't start with 'refs/'.
* <prefix> will default to 'refs/' if NULL.