aboutsummaryrefslogtreecommitdiff
path: root/git-gui/lib/commit.tcl
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-06-06 02:53:36 -0400
committerShawn O. Pearce <spearce@spearce.org>2007-06-06 02:53:36 -0400
commit5d198d676667ecd3beeac816049bfc777b9c8566 (patch)
treed2e5d4f0e707d761c77705d6bf83b370b9526583 /git-gui/lib/commit.tcl
parent0dfed77b3cc81342aee4c81e477d636a378c51cb (diff)
downloadgit-5d198d676667ecd3beeac816049bfc777b9c8566.tar.gz
git-5d198d676667ecd3beeac816049bfc777b9c8566.tar.xz
git-gui: Use three colors for the blame viewer background
To prevent neighboring lines that are different commits from using the same background color we now use 3 colors and assign them by selecting the color that is not used before or after the line in question. We still color "on the fly" as we receive hunks from git-blame, but we delay our color decisions until we are getting the original location data (the slower -M -C -C pass) as that is usually more fine-grained than the current location data. Credit goes to Martin Waitz for the tri-coloring concept. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'git-gui/lib/commit.tcl')
0 files changed, 0 insertions, 0 deletions