gitweb.cgi: git_blame2: Revision blocks now have alternating colors
commitcc1bf97e24129db2b8c4634bc733ae0a16b2beba
authorLuben Tuikov <ltuikov@yahoo.com>
Sun, 23 Jul 2006 20:37:53 +0000 (23 13:37 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 25 Jul 2006 01:21:52 +0000 (24 18:21 -0700)
treea114c742da6a6e5bf82b3e0ab4adfff7b760f821
parent4f7b34c98f6f3853c6b82a85f3e49121c59180f7
gitweb.cgi: git_blame2: Revision blocks now have alternating colors

A revision block is the largest number of adjacent
lines of code originating from the same revision.

This patch adds color to git_blame2(), in that no two
adjacent revision blocks have the same color.  The color
alternates between light and dark.

As we annotate the code lines, we alternate the color
(light, dark) of code lines _per revision_.  This makes it
easier to see line conglomerations per revision.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.cgi