artrz / vscode-gitstash

Adds extra Git stash powers to VS Code
https://marketplace.visualstudio.com/items?itemName=arturock.gitstash
MIT License
24 stars 4 forks source link

Stashes disappear after clicking the "pop" icon #70

Closed sbungert-mms closed 2 years ago

sbungert-mms commented 3 years ago

V4.0.0

Something seems to have changed as popping via GUI seems to delete the stash, previously the stash was still there after popping.

artrz commented 3 years ago

Hi @sbungert-mms. If I understood correctly that's the expected behavior. To extract the changes from a stash without removing it from the stack you can use the 'Apply...' action (available via right click over the stash item on the tree). Would you let me know if that fixes the issue for you?

sketchbuch commented 2 years ago

Yes, that did what i wanted, I never pop as I have several stashes from different branches and need to go back to them. Older versions of the extension never used to remove them when you clicked the icon, is there anyway to have a setting for this? To move the pop function to the context menu and make the icon function apply?

artrz commented 2 years ago

I thought about that before but never implemented it. I'll add it for the next release.