X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=object-store.h;h=7f7b3cdd806b756eefb86c7d116ba9a9a6c62558;hp=49f56ab8d9608919808ecebe71b9deb30c53980b;hb=d45d771978c3d5bead096934cad16ddfb9fced37;hpb=1a27b78e34e9d9685f6bd55e80b8199f4874ad11 diff --git a/object-store.h b/object-store.h index 49f56ab8d9..7f7b3cdd80 100644 --- a/object-store.h +++ b/object-store.h @@ -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