aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorPhil Hord <phil.hord@gmail.com>2025-07-01 18:12:14 -0700
committerJunio C Hamano <gitster@pobox.com>2025-07-01 18:42:25 -0700
commit0f846954999a332735c52dc26451be674ea617ba (patch)
tree69ebb4a90ce937513aa21fca39b69f25bf53e9b9 /refs.h
parentcc7dc407fe4c153195e5ce38d0109f3c2c35ceaf (diff)
downloadgit-0f846954999a332735c52dc26451be674ea617ba.tar.xz
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 <phil.hord@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h2
1 files changed, 0 insertions, 2 deletions
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);