X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/93d8ef8f1de4385c565049e1ccd7fdd25e6c14d7..865afe0eb1b5e6485fe0f65472e6635266e393b1:/parsing.c 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 struct commitinfo *cgit_parse_commit(struct commit *commit) { struct commitinfo *ret; - const char *p = commit->buffer, *t; + const char *p = get_cached_commit_buffer(commit, NULL); + const char *t; ret = xmalloc(sizeof(*ret)); ret->commit = commit;