commit.c: migrate the commit buffer to the parsed object store
Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
95bb9d4c32
commit
65ea9d4bec
4
object.h
4
object.h
@ -1,6 +1,8 @@
|
||||
#ifndef OBJECT_H
|
||||
#define OBJECT_H
|
||||
|
||||
struct buffer_slab;
|
||||
|
||||
struct parsed_object_pool {
|
||||
struct object **obj_hash;
|
||||
int nr_objs, obj_hash_size;
|
||||
@ -22,6 +24,8 @@ struct parsed_object_pool {
|
||||
char *alternate_shallow_file;
|
||||
|
||||
int commit_graft_prepared;
|
||||
|
||||
struct buffer_slab *buffer_slab;
|
||||
};
|
||||
|
||||
struct parsed_object_pool *parsed_object_pool_new(void);
|
||||
|
Reference in New Issue
Block a user