-
-
Notifications
You must be signed in to change notification settings - Fork 25.7k
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
Git plugin freaks out when there's a conflict #4932
Comments
This is a bug in zsh's codebase, fixed in zsh-users/zsh@7a16787. If you can, update your zsh to 5.2. |
How do I tell which version I currently have? And how do I update to a specific version? |
|
Oh, I was thinking oh-my-zsh, not zsh. Got it. I'm using zsh 5.2. |
+1 |
This should be in the latest version of zsh 5.2. Perhaps your platform hasn't shipped a modified version of 5.2. For instance, I'm using Debian testing and my installed zsh package is version |
Mac OS 10.11.5. zsh 5.2 (x86_64-apple-darwin15.4.0). Installed via Homebrew. |
That's weird, the latest Homebrew formula was updated on April 9 and the |
I'm having the same problem, installing and reinstalling from homebrew doesn't do anything (it's the same version) |
Installing the latest zsh ( |
Relevant parts of my |
+1 for @jtheoof Issue still exist for sure! I installed latest zsh 5.2 and updated my /etc/shells, i am using OSX El Capitan v10.11.6, below is my environment:
What I got:
|
+1 |
1 similar comment
+1 |
To everyone that has this problem, please run the following and post the output: zsh --version
for d ($fpath); do
f="$d/VCS_INFO_get_data_git"
if [[ -f "$f" ]]; then
command shasum "$f"
fi
done |
I think this explains the behaviour. Looking at my |
Wait... There isn't a 5.2.0 |
@mcornella There is, but the zsh |
I'm not sure actually. Try running |
This is my
|
This is the output: And Any ideas...? |
@apjanke is it possible that there is an issue with Homebrew here? Can you try to reproduce this as well? BTW I never got to congratulate you about your promotion as official collaborator at Homebrew so... congrats! 👏 |
The loop =>
|
|
TL;DR: Homebrew zsh 5.2 has the fix; it's your
I can reproduce this on my OS X 10.11.6 machine, but only with the system-supplied zsh 5.0.8. I have an updated Homebrew-installed zsh 5.2, and it is not affected. So it looks like the Homebrew version includes the fix. To be affected, you also need to be using a theme that uses zsh's supplied
There's a possible interaction with Homebrew, insofar as you may not be running the Homebrew-installed For example, I'm on OS X 10.11.6, and I have
If that's your issue, and you want to use the newer 5.2 zsh by default, do a Or, your terminal emulator might be set up to run a specific And thank you Marc! |
Ok everyone please check you're running 5.2 with |
@apjanke you are super! your solution fixed this problem!! |
@apjanke And all this time I was using the wrong binary ( |
Ok I'll close this issue for now. If someone else can't solve it I'll reopen. Thanks Andrew! |
Just a little feedback from my problem. I didn't have |
I came across this issue while a tried a
Changing shell...
Any thoughts would be appreciated. Update: A terminal restart is required for the changes to get applied. All works fine. 👍 |
+1 |
On Linux Mint/Ubuntu U got:
Is there a PPA with ZSH for ubuntu to upgrade to |
Just to help people more... |
I did a
git rebase master
which resulted in a conflict. And now every time I hit enter at the zsh prompt, I get this:The text was updated successfully, but these errors were encountered: