vscode icon indicating copy to clipboard operation
vscode copied to clipboard

FileSystemError when git tries to read config from a remote folder

Open chemelli74 opened this issue 3 years ago • 2 comments

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

  • VS Code Version: v1.67.2
  • OS Version: Windows 10 21H2

Steps to Reproduce:

  1. Open a remote folder via \\hostname\folder1\folder2
  2. Check you have a .git folder inside
  3. Go to Source Control
  4. The folder currently open doesn't have a git reporsitory

I noticed using F1 -> Developer Tools that there is a extra in the path:

Unknown (FileSystemError) (FileSystemError): Error: UNKNOWN: unknown error, stat '\\hostname\hostname\homeassistant\config.git\config' at Function._handleError (c:\Users\login\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:83:90763) at Object.stat (c:\Users\login\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\api\node\extensionHostProcess.js:83:88691) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async Object.isFile (c:\Users\login.vscode\extensions\ms-vscode-remote.remote-containers-0.234.0\dist\extension\extension.js:391:30873) at async mw (c:\Users\login.vscode\extensions\ms-vscode-remote.remote-containers-0.234.0\dist\extension\extension.js:201:312) at async sT (c:\Users\login.vscode\extensions\ms-vscode-remote.remote-containers-0.234.0\dist\extension\extension.js:201:1076) at async sb (c:\Users\login.vscode\extensions\ms-vscode-remote.remote-containers-0.234.0\dist\extension\extension.js:372:4638) at async zV (c:\Users\login.vscode\extensions\ms-vscode-remote.remote-containers-0.234.0\dist\extension\extension.js:459:8570) at async c:\Users\login.vscode\extensions\ms-vscode-remote.remote-containers-0.234.0\dist\extension\extension.js:458:12794

Simone

chemelli74 avatar May 22 '22 22:05 chemelli74

Any progress ?

Thank you,

Simone

chemelli74 avatar Jul 31 '22 21:07 chemelli74

@chemelli74, are you able to reproduce this with the latest Stable version (1.70)?

lszomoru avatar Aug 10 '22 07:08 lszomoru

Confirmed to be working now.

Thx for fixing!

Simone

chemelli74 avatar Aug 13 '22 11:08 chemelli74