mirror of
https://git.zx2c4.com/cgit
synced 2025-07-09 17:54:35 +02:00
ui-log: color line changes
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
9984e7ab49
commit
4fb49864db
2 changed files with 11 additions and 1 deletions
3
ui-log.c
3
ui-log.c
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue