Microsoft/vscode

Cloning in VSCode sets absolute worktree path. It breaks git on WSL. How to prevent VSCode from doing this unnecessary behavior?

开放

#275,989 创建于 2025年11月7日

 (1 条评论) (0 个反应) (1 位负责人)TypeScript (39,847 个派生)batch import
Good first issueSearchUXbuggithelp wanted

仓库指标

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

描述

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

Version: 1.105.1 (user setup) Commit: 7d842fb85a0275a4a8e4d7e040d2625abbf7f084 Date: 2025-10-14T22:33:36.618Z Electron: 37.6.0 ElectronBuildId: 12502201 Chromium: 138.0.7204.251 Node.js: 22.19.0 V8: 13.8.258.32-electron.0 OS: Windows_NT x64 10.0.19044

Steps to Reproduce:

  1. Use "Clone Git Repository..."
  2. Run WSL on the repo's local directory
  3. Run git
  4. See git fail with "cannot chdir to .. no such file or directory"

贡献者指南