We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa822a commit b600bdcCopy full SHA for b600bdc
src/git/gitUri.ts
@@ -372,7 +372,7 @@ export class GitUri extends ((Uri as any) as UriEx) {
372
const path = GitUri.resolve(fileName, repoPath);
373
return Uri.parse(
374
// Change encoded / back to / otherwise uri parsing won't work properly
375
- `${DocumentSchemes.Git}:${encodeURIComponent(path).replace(/%2F/g, slash)}?${encodeURIComponent(
+ `${DocumentSchemes.Git}:/${encodeURIComponent(path).replace(/%2F/g, slash)}?${encodeURIComponent(
376
JSON.stringify({
377
// Ensure we use the fsPath here, otherwise the url won't open properly
378
path: Uri.file(path).fsPath,
0 commit comments