summaryrefslogtreecommitdiff
path: root/ident.c
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-06 02:53:36 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-06-06 02:53:36 -0400
commit5d198d676667ecd3beeac816049bfc777b9c8566 (patch)
treed2e5d4f0e707d761c77705d6bf83b370b9526583 /ident.c
parentgit-gui: Jump to original line in blame viewer (diff)
downloadtgif-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 'ident.c')
0 files changed, 0 insertions, 0 deletions