]> Lady’s Gitweb - Gitweb/commit
gitweb.cgi: git_blame2: Revision blocks now have alternating colors
authorLuben Tuikov <redacted>
Sun, 23 Jul 2006 20:37:53 +0000 (13:37 -0700)
committerLady <redacted>
Sat, 4 Apr 2026 18:43:37 +0000 (14:43 -0400)
commitb7017eb3c868e9ac20e5b105f265487e520a66989f6daea731bdb4a9618551ae
tree718939c411544e4d39c99963cd044d1e52c039910854c4fe56e5a6a44ef51cd5
parentdfbd146ac6efe32127e8a2b0da341f32b4e79c1af0cbe1be2483cb2fe7801adc
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.cgi
This page took 0.246414 seconds and 4 git commands to generate.