commit | 46a0431b996cd19f21e0247c97b1eab2c19698fc | [log] [tgz] |
---|---|---|
author | Bert Wesarg <bert.wesarg@googlemail.com> | Mon Nov 15 11:00:33 2010 +0100 |
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | Fri Nov 19 09:32:58 2010 +0000 |
tree | 243f99d278f30fbbf4d25a9a3d906f754b138ae4 | |
parent | 8f85599aba6b569de5c559994704a416f52bc031 [diff] |
git-gui: fix ANSI-color parsing git diff always outputs color reset commands, even when the color for the current part is disabled (ie. normal). But the current ANSI-color parsing code assumes that color start and reset commands appear in matching pairs. Relax this assumption. Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>