Skip to content

Commit 82bd646

Browse files
committed
Fixes #4485 ensures all files in uncommitted commit
1 parent d0c2903 commit 82bd646

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1010

1111
- Changes branch creation to avoid setting an upstream branch if the new branch name and remote branch name don't match ([#4477](https://github.com/gitkraken/vscode-gitlens/issues/4477))
1212

13+
### Fixed
14+
15+
- Fixes unstaging files doesn't work in the Inspect/Details views ([#4485](https://github.com/gitkraken/vscode-gitlens/issues/4485))
16+
1317
## [17.3.0] - 2025-07-08
1418

1519
### Added

src/git/models/commit.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,6 @@ export class GitCommit implements GitRevisionReference {
305305
let files = status.files.flatMap(f => f.getPseudoFileChanges());
306306
if (isUncommittedStaged(this.sha)) {
307307
files = files.filter(f => f.staged);
308-
} else {
309-
files = files.filter(f => !f.staged);
310308
}
311309

312310
const pathspec = this.fileset?.filtered?.pathspec;

0 commit comments

Comments
 (0)