Merge branch 'rs/unify-is-branch'

* rs/unify-is-branch:
  refs.c: add a public is_branch function
This commit is contained in:
Junio C Hamano
2014-07-21 11:18:57 -07:00
3 changed files with 3 additions and 6 deletions

2
refs.h
View File

@ -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,