Make refs_ref_exists public
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
d05c8e45f1
commit
8794bb5159
2
refs.h
2
refs.h
@ -105,6 +105,8 @@ int refs_verify_refname_available(struct ref_store *refs,
|
||||
const struct string_list *skip,
|
||||
struct strbuf *err);
|
||||
|
||||
int refs_ref_exists(struct ref_store *refs, const char *refname);
|
||||
|
||||
int ref_exists(const char *refname);
|
||||
|
||||
int should_autocreate_reflog(const char *refname);
|
||||
|
Reference in New Issue
Block a user