summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-06-29 01:22:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-06-29 17:43:40 (GMT)
commit65ea9d4bec141295d34955b286c32725fe3b422d (patch)
tree5a742e83896145560fcd1e7e2489589613191276 /commit.h
parent95bb9d4c326695553b9d5499752e24959e833f82 (diff)
downloadgit-65ea9d4bec141295d34955b286c32725fe3b422d.zip
git-65ea9d4bec141295d34955b286c32725fe3b422d.tar.gz
git-65ea9d4bec141295d34955b286c32725fe3b422d.tar.bz2
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/commit.h b/commit.h
index e9cb5aa..bea5e01 100644
--- a/commit.h
+++ b/commit.h
@@ -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.