-rw-r--r-- | parsing.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -141,19 +141,20 @@ struct commitinfo *cgit_parse_commit(struct commit *commit) if (!strncmp(p, "committer ", 9)) { p += 9; t = strchr(p, '<') - 1; ret->committer = substr(p, t); p = strchr(p, '\n') + 1; } while (*p == '\n') p = strchr(p, '\n') + 1; t = strchr(p, '\n'); ret->subject = substr(p, t); + p = t + 1; while (*p == '\n') p = strchr(p, '\n') + 1; ret->msg = p; return ret; } |