Closed
Description
- VSCode Version: 1.50.0
- OS Version: Windows 10
- Git version: 2.19.2.windows.1
Steps to Reproduce:
- Open VSCode on Windows
- Create a new project
- Try to add new files to the index via SCM GUI
Expected result:
Files are added/removed to index successfully
Actual result:
Error message: `fatal: d:[filepath] 'd:[filepath]' is outside repository
It seems that the VSCode Git extension does not call sanitizePath()
inside git.ts on filenames while adding/removing files.
It does, however, with invocations like ls-remote, which is seen from the output message
Does this issue occur when all extensions are disabled?: Does not apply, extension issue