X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=refs.h;h=dfb086e93346aa3fb6f600b2ed07b5736716bf9c;hb=ac86ec0f5e2dbd0d46fb000db1a65f1d2173a02d;hp=5de06e57e7a9644a7dd51832552e9d1afa53c8cd;hpb=ed16d0dbf11128e1f92b39a373a83442fa6d5051;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, "?*[");