diff options
author | Christian Hesse <mail@eworm.de> | 2016-06-29 09:37:57 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-07-05 16:14:47 +0200 |
commit | 4fb49864db51affddf37ab2a563b0eb4b33e155d (patch) | |
tree | c913982a2026dbf8b3ecca28849144f665b4b23f /ui-log.c | |
parent | 9984e7ab49c59e49a0d7e62c3435e7133f7a53ec (diff) |
ui-log: color line changes
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-log.c')
-rw-r--r-- | ui-log.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -258,7 +258,8 @@ static void print_commit(struct commit *commit, struct rev_info *revs) if (ctx.repo->enable_log_filecount) htmlf("</td><td>%d", files); if (ctx.repo->enable_log_linecount) - htmlf("</td><td>-%d/+%d", rem_lines, add_lines); + htmlf("</td><td><span class='deletions'>-%d</span>/" + "<span class='insertions'>+%d</span>", rem_lines, add_lines); html("</td></tr>\n"); |