X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=refs.h;h=dfb086e93346aa3fb6f600b2ed07b5736716bf9c;hb=d8308c79fc2cae2d1891f92b9e0f9ec0361fe7df;hp=5de06e57e7a9644a7dd51832552e9d1afa53c8cd;hpb=c8409e716a8a117ee37fb0c4b8ecbfcc4bac3fe9;p=git.git diff --git a/refs.h b/refs.h index 5de06e57e..dfb086e93 100644 --- a/refs.h +++ b/refs.h @@ -36,6 +36,9 @@ extern int for_each_tag_ref_submodule(const char *submodule, each_ref_fn fn, voi extern int for_each_branch_ref_submodule(const char *submodule, each_ref_fn fn, void *cb_data); extern int for_each_remote_ref_submodule(const char *submodule, each_ref_fn fn, void *cb_data); +extern int head_ref_namespaced(each_ref_fn fn, void *cb_data); +extern int for_each_namespaced_ref(each_ref_fn fn, void *cb_data); + static inline const char *has_glob_specials(const char *pattern) { return strpbrk(pattern, "?*[");