DORMANTno replies

[PATCH 3/3] gitweb.cgi: git_blame2: Revision blocks now have alternating colors

From: Luben Tuikov <hidden>
Date: 2016-06-15 22:42:34

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>
---
 gitweb/gitweb.cgi |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help