summaryrefslogtreecommitdiff
path: root/t/t3401-rebase-partial.sh
diff options
context:
space:
mode:
authorLibravatar Linus Torvalds <torvalds@osdl.org>2006-06-22 13:53:31 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-06-22 15:08:36 -0700
commit50f575fc9836704d45a5f732125b8f58103425a4 (patch)
tree3931dc704fc34961f2712ef545e993de22f6611a /t/t3401-rebase-partial.sh
parentMerge branch 'master' into next (diff)
downloadtgif-50f575fc9836704d45a5f732125b8f58103425a4.tar.xz
Tweak diff colors
This patch does: - always reset the color _before_ printing out the newline. This is actually important. You (and Johannes) didn't see it, because it only matters if you set the background, but if you don't do this, you get some random and funky behaviour if you pick a color with a non-default background (which still potentially has problems with tabs etc, but less so). - allow people to have a different color for the "file headers" (DIFF_METAINFO) and for the "fragment header" (DIFF_FRAGINFO). Also, make a difference between "normal color" and "reset colors" - default to red/green for old/new lines. That's the norm, I'd think. - instead of that eye-popping (and eye-ball-with-a-fondue-fork-popping) purple color for metadata, use bold-face for file headers, and cyan for the frag headers. I actually prefer the "gray background" for that, but it only works well in xterms, so COLOR_CYAN it is.. Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t3401-rebase-partial.sh')
0 files changed, 0 insertions, 0 deletions