Bladeren bron

Fixes issue with showing diffs of staged files

main
Eric Amodio 4 jaren geleden
bovenliggende
commit
b600bdc2fc
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. +1
    -1
      src/git/gitUri.ts

+ 1
- 1
src/git/gitUri.ts Bestand weergeven

@ -372,7 +372,7 @@ export class GitUri extends ((Uri as any) as UriEx) {
const path = GitUri.resolve(fileName, repoPath);
return Uri.parse(
// Change encoded / back to / otherwise uri parsing won't work properly
`${DocumentSchemes.Git}:${encodeURIComponent(path).replace(/%2F/g, slash)}?${encodeURIComponent(
`${DocumentSchemes.Git}:/${encodeURIComponent(path).replace(/%2F/g, slash)}?${encodeURIComponent(
JSON.stringify({
// Ensure we use the fsPath here, otherwise the url won't open properly
path: Uri.file(path).fsPath,

Laden…
Annuleren
Opslaan