msysgit/msysgit — pull request #118 by ecki (2013-05-23 19:11:55+00:00)
Title: bash_profile: use auto colors to avoid ESC in redirections

Piping the result of the `ls` command (alias) to a file will contain escape characters because the `--color` setting for `ls` is defaulting to `--color=always` instead of `--color=auto` (auto means, it will only produce color control codes on a real tty)