refs: add methods to init refs db
[gitweb.git] / refs.h
diff --git a/refs.h b/refs.h
index 132dcef5afa3de3e6e17d259d1d5c9e995041b84..20fae94d7da3324ca2be5d065c0752b0cee3067c 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -66,6 +66,8 @@ int ref_exists(const char *refname);
 
 int is_branch(const char *refname);
 
+extern int refs_init_db(struct strbuf *err);
+
 /*
  * If refname is a non-symbolic reference that refers to a tag object,
  * and the tag can be (recursively) dereferenced to a non-tag object,