You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to preserve the colors that git outputs on it's own? It definitely makes a big difference when reading through the output when managing numerous repos.
The text was updated successfully, but these errors were encountered:
If you use the serial mode this works -- unfortunately this is lost when running in parallel because of the buffering... I'm not sure there's a good way around it as apparently when running in that mode (without a real tty behind it) git will not give that itself (so, given that to fake it to appear as it's running in a real terminal is probably a huge amount of work, I'm really tempted to close this as there's a workaround -- running serial -- unless someone has an idea of a better approach or a library which can do this).
it's pretty easy actually: you can force git to use colors regardless. just launch with git -c color.ui=always, if you have os.isatty
(this is also a possible workaround for the issue: git config --global color.ui always will force colors on and that will keep through mu status etc)
to do it completely properly, you'd have to read git's config of the value and respect other values than "auto"
but i think it's reasonable to make colors an option of mu itself
Is it possible to preserve the colors that git outputs on it's own? It definitely makes a big difference when reading through the output when managing numerous repos.
The text was updated successfully, but these errors were encountered: