aboutsummaryrefslogtreecommitdiff
path: root/gitweb/gitweb.css
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-08-24 01:58:49 +0200
committerJunio C Hamano <junkio@cox.net>2006-08-25 19:29:36 -0700
commitaf33ef21bfb0171973393e21deac7621efd2ec7a (patch)
treed8c886f4a0a4aff238517e49a327175dd34ea8d4 /gitweb/gitweb.css
parenteee08903b2cb9cfaf9ee2cd69a255ace829ae7c5 (diff)
downloadgit-af33ef21bfb0171973393e21deac7621efd2ec7a.tar.gz
git-af33ef21bfb0171973393e21deac7621efd2ec7a.tar.xz
gitweb: Show information about incomplete lines in commitdiff
In format_diff_line, instead of skipping errors/incomplete lines, for example "\ No newline at end of file" in HTML pretty-printing of diff, use "incomplete" class for div. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb/gitweb.css')
-rw-r--r--gitweb/gitweb.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitweb/gitweb.css b/gitweb/gitweb.css
index 482102253..5eaa24fd2 100644
--- a/gitweb/gitweb.css
+++ b/gitweb/gitweb.css
@@ -285,6 +285,10 @@ div.diff.chunk_header {
color: #990099;
}
+div.diff.incomplete {
+ color: #cccccc;
+}
+
div.diff_info {
font-family: monospace;
color: #000099;