-
Notifications
You must be signed in to change notification settings - Fork 639
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
Don't auto-apply stash when switching branches #959
Comments
That is odd.... Ungit has a default flag Could you possibly share below data?
Thanks, |
Oh wow, can you please try changing git language to english and try it? This article may help you. My suspicion is that git language being german confused ungi as ungit does parse results of git command to detect it's state |
You are right with your suspicion: changing language of git to english using |
I had the same issue. Adding @jung-kim maybe there should be a better handling of no stash or add git to be in english as a requirement in the README Edit: The LANG hack doesn't work for me because LANGUAGE is set system wide to fr_FR and it takes precedence over LANG |
Yes we need to add english language dependency to README as we parse git result to detect it's states. |
I don't know if it's possible but can it check the current language, change the language to English, run the command, and then restore the language? |
I may get something wrong here, but it is not clear to me why ungit automatically applies the stash I created on one branch to another branch on checkout. At first, I thought I might have some customized setting triggering that behavior, but I could not find anything like that.
From my understanding of git (and what I use as workflow), the idea is that you can use ´git stash´ to save your uncommited changes on Branch A, checkout another branch B, do some work, get back to Branch A, apply the stash and find everything like it was the moment you left.
Maybe also relevant: If I don't have any stashes and change branches, ungit will throw an error, reporting that theres no stash available.
The text was updated successfully, but these errors were encountered: