diff options
Diffstat (limited to 'parsing.c')
| -rw-r--r-- | parsing.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -132,7 +132,8 @@ static const char *reencode(char **txt, const char *src_enc, const char *dst_enc | |||
| 132 | struct commitinfo *cgit_parse_commit(struct commit *commit) | 132 | struct 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; |
