Michel Marti <mma@xxxxxxxxxxxx> wrote: > Currently, with diff-coloring enabled, git-diff outputs color escape > sequences even if stdout is redirected (not a tty). This is rather annoying > when trying to further process the output. This patch teaches the diff command > to only do its coloring stuff when a pager is in use or stdout is a tty. Set color.diff to auto instead of true. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html