X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/57ea1aa2a5eab7f6aba702b3366fe4dcc72124f6..499b23979cd29513df16e4c2acce934932e09f7a:/ui-log.c diff --git a/ui-log.c b/ui-log.c index 5f6a69c..641a5b6 100644 --- a/ui-log.c +++ b/ui-log.c @@ -61,6 +61,8 @@ void show_commit_decorations(struct commit *commit) buf[sizeof(buf) - 1] = 0; deco = get_name_decoration(&commit->object); + if (!deco) + return; html(""); while (deco) { if (starts_with(deco->name, "refs/heads/")) { @@ -204,7 +206,7 @@ static void print_commit(struct commit *commit, struct rev_info *revs) } else { html("