diff options
author | Christian Hesse <mail@eworm.de> | 2016-07-07 09:10:47 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-10-12 14:18:39 +0200 |
commit | 16e83b9df0a45687e0cae508f332aaffe276079f (patch) | |
tree | 66e39730713948f585f8ff6194d7fa4ad7dab913 | |
parent | 6565f1c8a3c15afbe451cbf7e665fd073c5b1675 (diff) | |
download | cgit-16e83b9df0a45687e0cae508f332aaffe276079f.tar.gz |
ui-log: do not print empty table rows
This saves some bandwidth and unbreaks line highlighting based on even
and odd line numbers.
-rw-r--r-- | ui-log.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -263,7 +263,8 @@ 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 */ + if ((revs->graph && !graph_is_commit_finished(revs->graph)) + || ctx.qry.showmsg) { /* Print a second table row */ html("<tr class='nohover'>"); if (ctx.qry.showmsg) { |