]> git.ipfire.org Git - thirdparty/git.git/blobdiff - object-store.h
Merge branch 'sg/commit-graph-usage-fix'
[thirdparty/git.git] / object-store.h
index 49f56ab8d9608919808ecebe71b9deb30c53980b..7f7b3cdd806b756eefb86c7d116ba9a9a6c62558 100644 (file)
@@ -33,6 +33,8 @@ void prepare_alt_odb(struct repository *r);
 char *compute_alternate_path(const char *path, struct strbuf *err);
 typedef int alt_odb_fn(struct object_directory *, void *);
 int foreach_alt_odb(alt_odb_fn, void*);
+typedef void alternate_ref_fn(const struct object_id *oid, void *);
+void for_each_alternate_ref(alternate_ref_fn, void *);
 
 /*
  * Add the directory to the on-disk alternates file; the new entry will also