-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
Hi. First, 👏 for your project!
If the ~/.gitconfig file (or a local git config) sets [color] ui=always, then ugly ANSI colors codes are displayed in gitlens output. For instance:

I see many different configuration option for gitlens, and the only one where I could modify the git binary or git command line used for each call from gitlens is gitlens.advanced.git.
I wrote a tiny script that just adds -c color.ui=false to git, but specifying this script does not help to remove the bug.
#!/usr/bin/env /bin/sh
git -c color.ui=false "$@"So my question is: is there any (or could you add) way of adding a command line flag to git commands used by gitlens (in this case, -c color.ui=false would be enough), or to override global git config for gitlens?