author | Jakub Narebski <jnareb@gmail.com> | |
Sun, 30 Oct 2011 23:36:23 +0000 (00:36 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 31 Oct 2011 22:22:57 +0000 (15:22 -0700) | ||
commit | 970fac5e24966d7e296cd044de6a6d0ba585c8c5 | |
tree | 49322d621ea0251f2f1854fe83b0bff775006886 | tree | snapshot |
parent | 6ba1eb51b94c4777d84e4c9c868096735b1e16dd | commit | diff |
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>
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 | diff | blob | history | |
gitweb/static/gitweb.css | diff | blob | history |