aboutsummaryrefslogtreecommitdiffstats
path: root/parsing.c
diff options
context:
space:
mode:
Diffstat (limited to 'parsing.c')
-rw-r--r--parsing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsing.c b/parsing.c
index edb3416..3dbd122 100644
--- a/parsing.c
+++ b/parsing.c
@@ -132,7 +132,8 @@ static const char *reencode(char **txt, const char *src_enc, const char *dst_enc
132struct commitinfo *cgit_parse_commit(struct commit *commit) 132struct commitinfo *cgit_parse_commit(struct commit *commit)
133{ 133{
134 struct commitinfo *ret; 134 struct commitinfo *ret;
135 const char *p = commit->buffer, *t; 135 const char *p = get_cached_commit_buffer(commit, NULL);
136 const char *t;
136 137
137 ret = xmalloc(sizeof(*ret)); 138 ret = xmalloc(sizeof(*ret));
138 ret->commit = commit; 139 ret->commit = commit;