diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-08-17 17:35:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-17 17:35:38 -0700 |
commit | 6ed547b53b90bebd2371b086b83b416b22b243b2 (patch) | |
tree | d0b9cf755a58c5b9f6f460936e240bb44dd6274a /refs.h | |
parent | 6dd5622f68157f471c4f784e8c41f39e8c5163fc (diff) | |
parent | bf7930caa0da2fbd6def59a54608ac494c272197 (diff) | |
download | git-6ed547b53b90bebd2371b086b83b416b22b243b2.tar.gz git-6ed547b53b90bebd2371b086b83b416b22b243b2.tar.xz |
Merge branch 'js/ref-namespaces'
* js/ref-namespaces:
ref namespaces: tests
ref namespaces: documentation
ref namespaces: Support remote repositories via upload-pack and receive-pack
ref namespaces: infrastructure
Fix prefix handling in ref iteration functions
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, "?*["); |