Microsoft/vscode

Git stash created by lint-staged not visible in VS Code's "View Stash" panel

Open

#257,960 建立於 2025年7月26日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)TypeScript (74,848 star) (10,221 fork)batch import
buggithelp wanted

描述

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

  • VS Code Version: 1.102.2
  • OS Version: 12.3.1

Steps to Reproduce:

  1. 1.Install and configure lint-staged (version 16.1.2)
  2. Perform a git commit that triggers lint-staged
  3. lint-staged will automatically stash changes and create a stash entry with the message lint-staged automatic backup (xxxxxxx)
  4. Run git stash list in terminal to confirm the stash is created and visible
  5. Open VS Code → Source Control → View Stashes
  6. The stash created by lint-staged is not visible in the View Stash list inside VS Code

Expected Behavior The stash created by lint-staged should appear in the View Stash panel in the Source Control view.

Actual Behavior Although the stash is confirmed to exist via git stash list, it does not show up in the Source Control UI under View Stash in VS Code.

貢獻者指南