]> gitweb.ps.run Git - ps-cgit/blobdiff - parsing.c
git: update to v2.0.3
[ps-cgit] / parsing.c
index edb341694706a0cbe4ffd4f765e5cb1890a0159a..3dbd12293186baad1a5cb07c67890b8b033d4083 100644 (file)
--- 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;