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
In GitAdapter.gitCurrentBranch(), when it looks up the current repo's branches, if the current bash shell has LSCOLORS enabled, then it will add the following output to the branch call:
Running [git, branch] produced output: [some-other-topic-branch�[m
* �[32msome-topic-branch�[m
Running [git, push, --porcelain, origin, �[32msome-topic-branch�[m] in [/Users/diegotori/as_projects/some_app]
Running [git, push, --porcelain, origin, �[32msome-topic-branch�[m] produced output: []
Running [git, push, --porcelain, origin, �[32msome-topic-branch�[m] produced an error: [fatal: remote part of refspec is not a valid name in �[32msome-topic-branch�[m]
:some_app:app:preTagCommit FAILED
The way to strip out all coloring without resorting to regexes is by calling "git branch" with the "--no-color" option, thus sanitizing the output.
The text was updated successfully, but these errors were encountered:
In GitAdapter.gitCurrentBranch(), when it looks up the current repo's branches, if the current bash shell has LSCOLORS enabled, then it will add the following output to the branch call:
The way to strip out all coloring without resorting to regexes is by calling "git branch" with the "--no-color" option, thus sanitizing the output.
The text was updated successfully, but these errors were encountered: