diff options
Diffstat (limited to 'repository.h')
-rw-r--r-- | repository.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/repository.h b/repository.h index e6e00f541b..6d19981990 100644 --- a/repository.h +++ b/repository.h @@ -26,6 +26,15 @@ struct repository { */ struct raw_object_store *objects; + /* + * All objects in this repository that have been parsed. This structure + * owns all objects it references, so users of "struct object *" + * generally do not need to free them; instead, when a repository is no + * longer used, call parsed_object_pool_clear() on this structure, which + * is called by the repositories repo_clear on its desconstruction. + */ + struct parsed_object_pool *parsed_objects; + /* The store in which the refs are held. */ struct ref_store *refs; |