Microsoft/vscode

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

开放

#257,960 创建于 2025年7月26日

 (2 条评论) (0 个反应) (1 位负责人)TypeScript (39,847 个派生)batch import
AndroidGood first issueUIbuggithelp wantediOS

仓库指标

星标
 (184,936 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南