X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=refs.h;h=29bdcecd4edb5e7281a4da36a06aa05e025f38a7;hb=1e7ef0253c91bf2f25f9d8e44795b642737e664e;hp=3bb529d3870012feda9a0398cba15c09aee10cf9;hpb=bdf6442b482e488fd34b2d749316312e0ee25a5b;p=git.git diff --git a/refs.h b/refs.h index 3bb529d38..29bdcecd4 100644 --- a/refs.h +++ b/refs.h @@ -24,6 +24,11 @@ extern int for_each_tag_ref(each_ref_fn, void *); extern int for_each_branch_ref(each_ref_fn, void *); extern int for_each_remote_ref(each_ref_fn, void *); +/* can be used to learn about broken ref and symref */ +extern int for_each_rawref(each_ref_fn, void *); + +extern void warn_dangling_symref(const char *msg_fmt, const char *refname); + /* * Extra refs will be listed by for_each_ref() before any actual refs * for the duration of this process or until clear_extra_refs() is