summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-06-29 17:03:12 -0700
committerJunio C Hamano <gitster@pobox.com>2011-06-29 17:03:12 -0700
commitb985f2aecaa6358b55d545385d0624d76ff83fb8 (patch)
treefb28f7e7a9463b659c61379fe61e0270bc7d7f08 /refs.h
parent187e902dd25da5a9f48f35a48e6281faa2f8ac39 (diff)
parentc17b229454ac3f5d20fd0cff3a663b03c13cb38e (diff)
downloadgit-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/refs.h b/refs.h
index 5e7a9a59f5..5de06e57e7 100644
--- a/refs.h
+++ b/refs.h
@@ -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 *);