]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-log.c
css: highlight even table rows and skip empty rows
[cgit.git] / ui-log.c
index 6cc81a3b1dce99fee225603b9991b738ffd97e73..3220fd98aad9c7e65ea3307db361ea7b8a718ff0 100644 (file)
--- a/ui-log.c
+++ b/ui-log.c
@@ -263,8 +263,9 @@ static void print_commit(struct commit *commit, struct rev_info *revs)
 
        html("</td></tr>\n");
 
-       if (revs->graph || ctx.qry.showmsg) { /* Print a second table row */
-               html("<tr class='nohover'>");
+       if ((revs->graph && !graph_is_commit_finished(revs->graph))
+                       || ctx.qry.showmsg) { /* Print a second table row */
+               html("<tr class='nohover-highlight'>");
 
                if (ctx.qry.showmsg) {
                        /* Concatenate commit message + notes in msgbuf */