From: David Turner Date: Wed, 28 Oct 2015 02:14:03 GMT Subject: [PATCH v5 02/26] refs: make is_branch public Message-ID: <1445998467-11511-3-git-send-email-dturner@twopensource.com> In-Reply-To: <1445998467-11511-1-git-send-email-dturner@twopensource.com> is_branch was already non-static, but this patch declares it in the header. Signed-off-by: Ronnie Sahlberg Signed-off-by: David Turner Signed-off-by: Junio C Hamano --- refs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/refs.h b/refs.h index 7367a7f..8408bef 100644 --- a/refs.h +++ b/refs.h @@ -237,6 +237,8 @@ int pack_refs(unsigned int flags); int verify_refname_available(const char *newname, struct string_list *extra, struct string_list *skip, struct strbuf *err); +extern int is_branch(const char *refname); + /* * Flags controlling ref_transaction_update(), ref_transaction_create(), etc. * REF_NODEREF: act on the ref directly, instead of dereferencing -- 2.4.2.658.g6d8523e-twtrsrc