author | Luben Tuikov <ltuikov@yahoo.com> | |
Sun, 23 Jul 2006 20:37:53 +0000 (13:37 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 25 Jul 2006 01:21:52 +0000 (18:21 -0700) | ||
commit | cc1bf97e24129db2b8c4634bc733ae0a16b2beba | |
tree | a114c742da6a6e5bf82b3e0ab4adfff7b760f821 | tree | snapshot |
parent | 4f7b34c98f6f3853c6b82a85f3e49121c59180f7 | commit | diff |
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>
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 | diff | blob | history |