-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Closed
Copy link
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggitGIT issuesGIT issuesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
Milestone
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buggitGIT issuesGIT issuesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsidersverifiedVerification succeededVerification succeeded
