Re: [PATCH] No color diff when redirecting to file
On Sunday 23 January 2011 15:47:17 you wrote:
Show 12 quoted lines
> The subject line reads as if you want that color markup appears in a file.
>
> On Sonntag, 23. Januar 2011, Sascha Peilicke wrote:
> > Previously, when having color diffs enabled and redirecting 'git diff'
> > into a file, one ends up with a messed up file containing termcap color
> > stuff. This change disables color when diff output is redirected into a
> > file.
>
> But this description and the patch read as if you don't want it.
>
> That said, I cannot reproduce. Perhaps your configuration says
> color.ui=always? If so, then this is expected behavior and not a bug, IMO.
--
Mit freundlichen Grüßen,
Sascha Peilicke
http://saschpe.wordpress.com