It is possible to configured git to always execute git-diff with colorization and since the diff is rendered by letting Pygments highlight the output of git-diff, the colorizing characters, meant for the output on a tty, are included in the result.
(Use somthing like git config --global color.diff always , see the git book for a better explanation)
This leads to something like the following:
It is possible to configured git to always execute git-diff with colorization and since the diff is rendered by letting Pygments highlight the output of git-diff, the colorizing characters, meant for the output on a tty, are included in the result. (Use somthing like
git config --global color.diff always
, see the git book for a better explanation) This leads to something like the following:The pull request enforces git to never use its own colorization.