Add commit->msg_encoding, allocate msg dynamicly.

This commit is contained in:
Jonathan Bastien-Filiatrault
2007-10-26 18:09:06 -04:00
parent 72ede12551
commit 3845e177e4
4 changed files with 10 additions and 1 deletions

View File

@ -199,6 +199,7 @@ struct commitinfo *cgit_parse_commit(struct commit *commit)
ret->committer_email = NULL;
ret->subject = NULL;
ret->msg = NULL;
ret->msg_encoding = NULL;
if (p == NULL)
return ret;