From: Christian Hesse <[email protected]> This saves some bandwidth and unbreaks line highlighting based on even and odd line numbers.
Signed-off-by: Christian Hesse <[email protected]> --- ui-log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui-log.c b/ui-log.c index c97b8e0..6592267 100644 --- a/ui-log.c +++ b/ui-log.c @@ -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) { -- 2.9.0 _______________________________________________ CGit mailing list [email protected] http://lists.zx2c4.com/mailman/listinfo/cgit
