Subject: Re: bug#5211: Color escape codes in the output of vc-git-print-log

From: Eli Zaretskii <[email-masked]>
Date: Tue, 15 Dec 2009 08:01:36 -0500

> From: Juanma Barranquero <[email-masked]>
> Date: Tue, 15 Dec 2009 12:15:42 +0100
> Cc: [email-masked], [email-masked]
> 
> > On what OS?
> 
> Windows 7

I asked because pipes on Windows have their quirks.

> I have
> 
> [color]
>         branch = always
>         diff = always
>         interactive = always
>         pager = true
>         status = always
>         ui = always
>         showbranch = always
> 
> in my .gitconfig, and
> 
>   git log | more
> 
> in a personal repo shows
> 
> ←[33mcommit ed210d6b291c13b3e2c6cbfed39ffd0e96d5b634←[m

If the escapes go away when you remove "always", then there's no
problem here.  And if we want to cater to users who set "always" like
you do, then resetting it in vc-git-print-log is IMO the way to go.