-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on MacOS it shows internal error on gws ff #34
Comments
I have the same problem (macOS 10.12.6, bash 4.4.12). I looked into the code and I think I found the culprit. When fetching the revision in
instead of
An ugly fix would be to escape the colors sequence to fetch only the raw branch name:
I don't know why Bash on macOS is reacting differently than it's Linux version (I have the same version on Debian 8) but it is. Maybe it's better to not colorize the branch name in order to avoid this fix... Any idea @emlun ? |
Sorry I've been slow to respond to this... Thanks @marcofranssen for the report and @soifou for the detailed additional info! It does indeed seem weird that that should happen, and we do indeed not want to work with colorized branch names internally. I think explicitly setting |
@marcofranssen Does eac68e3 on the |
I answer for him. This commit fix the "Internal error" thing but you have to add the Current
Param
Param
And last but not least we loose the current branch indicator... but I can live without it. |
I can confirm it resolves the issue on Mac. On Windows it still looks to be the same and still works. |
Gotcha, I've taken inventory and added
Did gws ever have a current branch indicator? |
On MacOS the following output occurs when running gws ff.
The text was updated successfully, but these errors were encountered: