From 57fa3161a0ba4fb5e17dba8244bc854d91ae98bf Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Mon, 23 Feb 2026 12:59:35 +0100 Subject: refs: remove unused `refs_for_each_include_root_ref()` Remove the unused `refs_for_each_include_root_ref()` function. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- refs.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'refs.h') diff --git a/refs.h b/refs.h index f16b1b697b..1fdb809343 100644 --- a/refs.h +++ b/refs.h @@ -471,12 +471,6 @@ int refs_for_each_rawref(struct ref_store *refs, each_ref_fn fn, void *cb_data); int refs_for_each_rawref_in(struct ref_store *refs, const char *prefix, each_ref_fn fn, void *cb_data); -/* - * Iterates over all refs including root refs, i.e. pseudorefs and HEAD. - */ -int refs_for_each_include_root_refs(struct ref_store *refs, each_ref_fn fn, - void *cb_data); - /* * Normalizes partial refs to their fully qualified form. * Will prepend to the if it doesn't start with 'refs/'. -- cgit v1.3