Unified · Split
| @@ -590,6 +590,15 @@ div#cgit span.age-months { · 589 unmodified lines | ||
| 590 | 590 | div#cgit span.age-years { |
| 591 | 591 | color: #bbb; |
| 592 | 592 | } |
| 593 | + | |
| 594 | +div#cgit span.insertions { | |
| 595 | + color: #080; | |
| 596 | +} | |
| 597 | + | |
| 598 | +div#cgit span.deletions { | |
| 599 | + color: #800; | |
| 600 | +} | |
| 601 | + | |
| 593 | 602 | div#cgit div.footer { |
| 594 | 603 | margin-top: 0.5em; |
| 595 | 604 | text-align: center; |
| @@ -258,7 +258,8 @@ static void print_commit(struct commit *commit, struct rev_info *revs) · 257 unmodified lines | ||
| 258 | 258 | if (ctx.repo->enable_log_filecount) |
| 259 | 259 | htmlf("</td><td>%d", files); |
| 260 | 260 | if (ctx.repo->enable_log_linecount) |
| 261 | − htmlf("</td><td>-%d/+%d", rem_lines, add_lines); | |
| 261 | + htmlf("</td><td><span class='deletions'>-%d</span>/" | |
| 262 | + "<span class='insertions'>+%d</span>", rem_lines, add_lines); | |
| 262 | 263 | |
| 263 | 264 | html("</td></tr>\n"); |
| 264 | 265 | |