frostming / legit

Git for Humans, Inspired by GitHub for Mac™.
https://frostming.github.io/legit
BSD 3-Clause "New" or "Revised" License
5.71k stars 217 forks source link

switch always unstashes changes #196

Closed acrobat closed 8 years ago

acrobat commented 8 years ago

I have an issue with the switch command in 0.2.0. When i switch branches the stash get's always restored even if it was not stash on that branch

Previously I had the develop branch installed and there it worked correct. See screenshot tfor the problem switch_stash_bug_1

acrobat commented 8 years ago

I think this change was introduced in #111, but in my opinion the previous behavior (like i describe above) was the correct behavior

acrobat commented 8 years ago

I've created a PR to restore the previous intended behavior