diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-07-21 11:18:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-21 11:18:57 -0700 |
commit | 528396a463e4030e19f150e8fddd8d911063e77e (patch) | |
tree | 5eac35b8c38fb8c12007ee3c88d37aedd21dfcf3 /refs.h | |
parent | fb0166c674efbc940ac14453129ab81823badf3d (diff) | |
parent | e7e0f26eb64de205acaac63da89f47aab78ba229 (diff) | |
download | git-528396a463e4030e19f150e8fddd8d911063e77e.tar.gz |
Merge branch 'rs/unify-is-branch'
* rs/unify-is-branch:
refs.c: add a public is_branch function
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -128,6 +128,8 @@ extern int repack_without_refs(const char **refnames, int n, extern int ref_exists(const char *); +extern int is_branch(const char *refname); + /* * If refname is a non-symbolic reference that refers to a tag object, * and the tag can be (recursively) dereferenced to a non-tag object, |