Microsoft/vscode
View on GitHubgit diff view not updated after unstaging changes of new file
Open
#264,340 opened on Sep 1, 2025
buggithelp wanted
Repository metrics
- Stars
- (74,848 stars)
- PR merge metrics
- (Avg merge 11h 43m) (1,000 merged PRs in 30d)
Description
Does this issue occur when all extensions are disabled?: Yes
Version: 1.104.0-insider (user setup) Commit: 86f1b8fd472ae9cb26d24121a2476e40b98a0785 Date: 2025-09-01T07:47:15.390Z Electron: 37.3.1 ElectronBuildId: 12259562 Chromium: 138.0.7204.235 Node.js: 22.18.0 V8: 13.8.258.31-electron.0 OS: Windows_NT x64 10.0.19045 Steps to Reproduce:
- Add new file
- Stage changes
- change the file
- open diff view
- unstage changes
See also #240719
https://github.com/user-attachments/assets/7b9f9d57-c6ca-4b88-b594-a1e17d9111b2