X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/6130231ed5e7475836a44d79d5f09e300e71a407..51a960a3ca6b0cade97db287a342996c3e1de48d:/ui-summary.c?ds=sidebyside diff --git a/ui-summary.c b/ui-summary.c index 15e8aec..4bda4c2 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -19,6 +19,9 @@ static int cgit_print_branch_cb(const char *refname, const unsigned char *sha1, strncpy(buf, refname, sizeof(buf)); commit = lookup_commit(sha1); + // object is not really parsed at this point, because of some fallout + // from previous calls to git functions in cgit_print_log() + commit->object.parsed = 0; if (commit && !parse_commit(commit)){ info = cgit_parse_commit(commit); html("