Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'object.h')
-rw-r--r--object.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/object.h b/object.h
index b41d7a3acc..7916edb4ed 100644
--- a/object.h
+++ b/object.h
@@ -4,6 +4,14 @@
struct parsed_object_pool {
struct object **obj_hash;
int nr_objs, obj_hash_size;
+
+ /* TODO: migrate alloc_states to mem-pool? */
+ struct alloc_state *blob_state;
+ struct alloc_state *tree_state;
+ struct alloc_state *commit_state;
+ struct alloc_state *tag_state;
+ struct alloc_state *object_state;
+ unsigned commit_count;
};
struct parsed_object_pool *parsed_object_pool_new(void);