X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=object-store.h;h=7f7b3cdd806b756eefb86c7d116ba9a9a6c62558;hb=52bd3e46574baecf06562d4da857ba445981beb9;hp=49f56ab8d9608919808ecebe71b9deb30c53980b;hpb=c8823b44f16ed12d53ec3fa6592e3db6ff0e5e28;p=thirdparty%2Fgit.git 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