git-commits
git-commits copied to clipboard
"Stash staged changes" stashes unstaged changes too
Version: 4.2.0 (latest)
Steps to reproduce:
- Change two different files in your workspace.
- Stage only one of the changes.
- Click the "Stash staged changes" button under Stashes in Source Control. Add a stash message if you want, but confirm stashing.
Expected behaviour: The staged change would be stashed and the unstaged change would remain. Actual behaviour: Both changes are added to the same stash.
Hey!
Thank for reporting. Could you check how vscode stash command bahevaes? You can find it in command palette. There should be 2 of them stash all changes and stash staged changes.
I suspect this is vscode issue but might be wrong.