]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.h
Merge branch 'ps/worktree-refdb-initialization'
[thirdparty/git.git] / refs.h
diff --git a/refs.h b/refs.h
index 11b3b6cceafc1898eaf14cf80782d32061292ae9..303c5fac4d08b9798fafb6d4c667e9a94bf91e72 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -126,7 +126,9 @@ int should_autocreate_reflog(const char *refname);
 
 int is_branch(const char *refname);
 
-int refs_init_db(struct strbuf *err);
+#define REFS_INIT_DB_IS_WORKTREE (1 << 0)
+
+int refs_init_db(struct ref_store *refs, int flags, struct strbuf *err);
 
 /*
  * Return the peeled value of the oid currently being iterated via