-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce noisy errors when viewing git diff on VS code (#9407)
* Reduce noise when viewing git diff on VS code - The language server project was return a wrong file path for uris with git scheme - e.g. this could happen when opening git diff on VS code - With this hacky fix, we make up a fake git folder to provide for these file paths - This makes sure the returned file path for the left hand side of the git diff view, would not collide with existing file paths (original file path for the right hand side) Fixes #9365 * Apply PR feedback and add tests * Minor fix
- Loading branch information
1 parent
574f167
commit 70de468
Showing
2 changed files
with
75 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters