]> git.ipfire.org Git - thirdparty/git.git/blobdiff - repository.h
Merge branch 'es/bugreport-with-hooks'
[thirdparty/git.git] / repository.h
index 040057dea6f4f32bf11d429b3ad10a37d4b10520..6534fbb7b31301aa514c6cfad4f55b03289228b5 100644 (file)
@@ -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.