]> Lady’s Gitweb - Gitweb/commit
gitweb: Give side-by-side diff extra CSS styling
authorJakub Narebski <redacted>
Sun, 30 Oct 2011 23:36:23 +0000 (00:36 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:31 +0000 (00:51 -0400)
commit2f7a833204640ff60aa57cb577ffe5b32c8409e91acea52b4602d6e85b4d7a30
tree6f8e439324cf76e626132178c78fd76ae0814d60d61cc64048a379036c857dfe
parentff4434f6c82a445f77ea5674f9fe4ec702e0e78a0c67c36ea9cfeacde87844c7
gitweb: Give side-by-side diff extra CSS styling

Use separate background colors for pure removal, pure addition and
change for side-by-side diff.  This makes reading such diff easier,
allowing to easily distinguish empty lines in diff from vertical
whitespace used to align chunk blocks.

Note that if lines in diff were numbered, the absence of line numbers
[for one side] would help in distinguishing empty lines from vertical
align.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
static/gitweb.css
This page took 0.064262 seconds and 4 git commands to generate.