Skip to content

Stash Only Staged Changes Broken #4490

@cgkp

Description

@cgkp

Description

With the last few versions of GitLens, stashing only staged changes is broken in my environment. I am doing SSH-based development on an Ubuntu system with Git version 2.25.1. My local machine from which I am connecting is running Windows 11. With GitLens through 17.1.1, I can use the Source Control UI to stage some new/modified files and then stash them. With GitLens 17.2.0 and 17.3.0 (current latest), I cannot do so, getting the incorrect message "Your Git version doesn't support stashing only staged changes. Stash all changes instead?" The bug appears to be related to this change.

Thanks for this extension!

GitLens Version

17.3.0

VS Code Version

Version: 1.102.0 (user setup)
Commit: cb0c47c0cfaad0757385834bd89d410c78a856c0
Date: 2025-07-09T22:10:34.600Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.22631

Git Version

git version 2.25.1

Logs, Screenshots, Screen Captures, etc

No response

Metadata

Metadata

Assignees

Labels

needs-verificationRequest for verificationpending-releaseResolved but not yet released to the stable edition

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions