X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=refs.h;h=29bdcecd4edb5e7281a4da36a06aa05e025f38a7;hb=ec2956df592338ccd789428e9232fe6b709dc2be;hp=3bb529d3870012feda9a0398cba15c09aee10cf9;hpb=15b8e94aee06f004da178bc0bfaabd50a0fda242;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