X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/a2cbd3c30b64a26b52b2003ba6569f3c083f4092..37a24e4e39737edaa5cdde501346a65eeb280e63:/ui-commit.c diff --git a/ui-commit.c b/ui-commit.c index 2d98ed9..a11bc5f 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -15,10 +15,10 @@ void cgit_print_commit(char *hex, const char *prefix) { struct commit *commit, *parent; - struct commitinfo *info; + struct commitinfo *info, *parent_info; struct commit_list *p; unsigned char sha1[20]; - char *tmp; + char *tmp, *tmp2; int parents = 0; if (!hex) @@ -86,9 +86,12 @@ void cgit_print_commit(char *hex, const char *prefix) } html("