]> git.ipfire.org Git - thirdparty/git.git/blobdiff - refs.h
files-backend: replace submodule_allowed check in files_downcast()
[thirdparty/git.git] / refs.h
diff --git a/refs.h b/refs.h
index e529f4c3a88a79488df4b610b65a1c9d9c18c4a0..a6cd12267fbb7c1ea9e0cba8962239cfb76639cb 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -1,6 +1,11 @@
 #ifndef REFS_H
 #define REFS_H
 
+struct object_id;
+struct ref_store;
+struct strbuf;
+struct string_list;
+
 /*
  * Resolve a reference, recursively following symbolic refererences.
  *
@@ -292,7 +297,7 @@ int delete_reflog(const char *refname);
 
 /* iterate over reflog entries */
 typedef int each_reflog_ent_fn(
-               unsigned char *old_sha1, unsigned char *new_sha1,
+               struct object_id *old_oid, struct object_id *new_oid,
                const char *committer, unsigned long timestamp,
                int tz, const char *msg, void *cb_data);
 
@@ -556,4 +561,6 @@ int reflog_expire(const char *refname, const unsigned char *sha1,
 
 int ref_storage_backend_exists(const char *name);
 
+struct ref_store *get_main_ref_store(void);
+
 #endif /* REFS_H */