diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-08-01 14:43:18 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-08-01 14:43:18 -0700 |
commit | 055f2c5d340508d3542ede8dc1db2aedd0b9f1b5 (patch) | |
tree | 7d33f7fc50749cb7acd5a3f25d281ffdf760e88b /refs.h | |
parent | e08afecd7fe04b519b72f136c4a24b151c748f49 (diff) | |
parent | c17b229454ac3f5d20fd0cff3a663b03c13cb38e (diff) | |
download | git-055f2c5d340508d3542ede8dc1db2aedd0b9f1b5.tar.gz |
Merge branch 'jc/maint-1.7.3-checkout-describe' into maint
* 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 *); |