summaryrefslogtreecommitdiff
path: root/parsing.c
diff options
context:
space:
mode:
authorJonathan Bastien-Filiatrault <joe@x2a.org>2007-10-26 18:09:06 -0400
committerJonathan Bastien-Filiatrault <joe@x2a.org>2007-11-05 18:13:30 -0500
commit3845e177e4e0b231efb6fda0ac3cd3a2d8f34d4b (patch)
tree548671b6339e9a1a252ded4d534f11bfcd560043 /parsing.c
parent72ede12551af320b6d8eade853dbd2cd6f2222cc (diff)
Add commit->msg_encoding, allocate msg dynamicly.
Diffstat (limited to 'parsing.c')
-rw-r--r--parsing.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsing.c b/parsing.c
index 30e7648..0412a9c 100644
--- a/parsing.c
+++ b/parsing.c
@@ -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;