diff options
author | Stefan Beller <sbeller@google.com> | 2018-06-28 18:22:15 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-29 10:43:40 -0700 |
commit | 65ea9d4bec141295d34955b286c32725fe3b422d (patch) | |
tree | 5a742e83896145560fcd1e7e2489589613191276 /commit.h | |
parent | 95bb9d4c326695553b9d5499752e24959e833f82 (diff) | |
download | git-65ea9d4bec141295d34955b286c32725fe3b422d.tar.gz |
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>
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -89,6 +89,10 @@ static inline int parse_commit(struct commit *item) } void parse_commit_or_die(struct commit *item); +struct buffer_slab; +struct buffer_slab *allocate_commit_buffer_slab(void); +void free_commit_buffer_slab(struct buffer_slab *bs); + /* * Associate an object buffer with the commit. The ownership of the * memory is handed over to the commit, and must be free()-able. |