summaryrefslogtreecommitdiff
path: root/xdiff-interface.c
diff options
context:
space:
mode:
authorLibravatar Pat Thoyts <patthoyts@users.sourceforge.net>2010-10-22 16:14:38 +0100
committerLibravatar Pat Thoyts <patthoyts@users.sourceforge.net>2010-10-27 23:47:28 +0100
commit8f85599aba6b569de5c559994704a416f52bc031 (patch)
treeaaf8ba20764065d3449254dc1a02e38eea1ed8ac /xdiff-interface.c
parentgit-gui: use wordprocessor tab style to ensure tabs work as expected (diff)
downloadtgif-8f85599aba6b569de5c559994704a416f52bc031.tar.xz
git-gui: apply color information from git diff output
This patch extracts the ANSI color sequences from git diff output and applies these to the diff view window. This ensures that the gui view makes use of the current git configuration for whitespace display. ANSI codes may include attributes, foreground and background in a single sequence. Handle this and support bold and reverse attributes. Ignore all other attributes. Suggested-by: Tor Arvid Lund <torarvid@gmail.com> Suggested-by: Junio C Hamano <gitster@pobox.com> Tested-by: Tor Arvid Lund <torarvid@gmail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 'xdiff-interface.c')
0 files changed, 0 insertions, 0 deletions