RE: FW: Git log --graph doesn't output color when redirected

2012-12-13 Thread Srb, Michal
From: Jeff King [p...@peff.net]
Sent: Thursday, December 13, 2012 1:13 PM

 Is there a setting somewhere in config to change this?

 Yes. If you use --color on the command line, that means
 unconditionally use color. If you set color.ui (or any other
 color config option) to always, then you will always get color (and
 you can disable it for a particular run with --no-color). Setting a color
 config option to true is the same as auto, which gets you 
 the auto mode.
 
Setting color in gitconfig didn't work for me on msys, but --color 
works like magic, thanks!--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


FW: Git log --graph doesn't output color when redirected

2012-12-12 Thread Srb, Michal
Unlike --pretty-format, --graph doesn’t output colors when the git log output
is redirected.
 
Tested on Ubuntu 12.04 and msys on Windows 8.
 
Is there a setting somewhere in config to change this?
 
Thanks,
 
Michal





--
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html