X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/62dcc05c27fa2f230a7048211337f86ba20966a5..c83db796a1cf6893de275e78b98cef10eccc1200:/ui-summary.c diff --git a/ui-summary.c b/ui-summary.c index 18608b8..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("