diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-06-29 17:03:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-29 17:03:12 -0700 |
commit | b985f2aecaa6358b55d545385d0624d76ff83fb8 (patch) | |
tree | fb28f7e7a9463b659c61379fe61e0270bc7d7f08 /refs.h | |
parent | 187e902dd25da5a9f48f35a48e6281faa2f8ac39 (diff) | |
parent | c17b229454ac3f5d20fd0cff3a663b03c13cb38e (diff) | |
download | git-b985f2aecaa6358b55d545385d0624d76ff83fb8.tar.gz |
Merge branch 'jc/maint-1.7.3-checkout-describe'
* jc/maint-1.7.3-checkout-describe:
checkout -b <name>: correctly detect existing branch
Diffstat (limited to 'refs.h')
-rw-r--r-- | refs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ extern void warn_dangling_symref(FILE *fp, const char *msg_fmt, const char *refn */ extern void add_extra_ref(const char *refname, const unsigned char *sha1, int flags); extern void clear_extra_refs(void); +extern int ref_exists(char *); extern int peel_ref(const char *, unsigned char *); |