From 0f846954999a332735c52dc26451be674ea617ba Mon Sep 17 00:00:00 2001 From: Phil Hord Date: Tue, 1 Jul 2025 18:12:14 -0700 Subject: refs: remove old refs_warn_dangling_symref The dangling warning function that takes a single ref to search for is no longer used. Remove it. Signed-off-by: Phil Hord Signed-off-by: Junio C Hamano --- refs.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'refs.h') diff --git a/refs.h b/refs.h index a0cdd99250..60642bc24a 100644 --- a/refs.h +++ b/refs.h @@ -435,8 +435,6 @@ static inline const char *has_glob_specials(const char *pattern) return strpbrk(pattern, "?*["); } -void refs_warn_dangling_symref(struct ref_store *refs, FILE *fp, - const char *msg_fmt, const char *refname); void refs_warn_dangling_symrefs(struct ref_store *refs, FILE *fp, const char *msg_fmt, const struct string_list *refnames); -- cgit v1.3