X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=repository.h;h=6534fbb7b31301aa514c6cfad4f55b03289228b5;hb=35837307586a92c0d510392c2ee66b82fa66d5b5;hp=040057dea6f4f32bf11d429b3ad10a37d4b10520;hpb=dfdce31ce6c9c4d7266031ea70f982e7f22bb525;p=thirdparty%2Fgit.git diff --git a/repository.h b/repository.h index 040057dea6..6534fbb7b3 100644 --- a/repository.h +++ b/repository.h @@ -67,8 +67,12 @@ struct repository { */ struct parsed_object_pool *parsed_objects; - /* The store in which the refs are held. */ - struct ref_store *refs; + /* + * The store in which the refs are held. This should generally only be + * accessed via get_main_ref_store(), as that will lazily initialize + * the ref object. + */ + struct ref_store *refs_private; /* * Contains path to often used file names.