Skip to content

Could not cancel out of dialog about stashing issue #249547

Closed
@nomike

Description

@nomike

Does this issue occur when all extensions are disabled?: Yes/No

  • OS version:
    WSL version: 2.5.7.0
    Kernel version: 6.6.87.1-1
    WSLg version: 1.0.66
    MSRDC version: 1.2.6074
    Direct3D version: 1.611.1-81528511
    DXCore version: 10.0.26100.1-240331-1435.ge-release

  • vscode verssion:
    Version: 1.100.2 (system setup)
    Commit: 848b80a
    Date: 2025-05-14T21:47:40.416Z (1 wk ago)
    Electron: 34.5.1
    ElectronBuildId: 11369351
    Chromium: 132.0.6834.210
    Node.js: 20.19.0
    V8: 13.2.152.41-electron.0
    OS: Windows_NT x64 10.0.26100

Description

I have a couple of unstaged changes in my git worktree and want to switch to another branch. I therefore want to stash my changes in multiple separate stashes.

I therefore staged a few changes, hit the stash button, and typed in a name.

I then received this error message:

[Window Title]
Visual Studio Code

[Content]
Changes were stashed, but the working tree cannot be updated because at least one file has staged and unstaged changes on the same line(s)

Do you want to try again by stashing both your staged and unstaged changes?

[Stash Everything] [Cancel]

As I do not want to stash everything. I click [Cancel]. The dialog disappears but almost immediately comes back on again.

There is no way for me to cancel out of this and I had to kill vscode via the task manager.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions