gitweb: Give side-by-side diff extra CSS styling
commit970fac5e24966d7e296cd044de6a6d0ba585c8c5
authorJakub Narebski <jnareb@gmail.com>
Sun, 30 Oct 2011 23:36:23 +0000 (31 00:36 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Oct 2011 22:22:57 +0000 (31 15:22 -0700)
tree49322d621ea0251f2f1854fe83b0bff775006886
parent6ba1eb51b94c4777d84e4c9c868096735b1e16dd
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl
gitweb/static/gitweb.css