mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-18 01:35:36 -05:00
Switches to use GitUris in more places
This commit is contained in:
@@ -89,7 +89,7 @@ export class GitUri extends Uri {
|
||||
if (commit !== undefined) return new GitUri(uri, commit);
|
||||
}
|
||||
|
||||
const gitUri = git.getGitUriForFile(uri.fsPath);
|
||||
const gitUri = git.getGitUriForFile(uri);
|
||||
if (gitUri) return gitUri;
|
||||
|
||||
return new GitUri(uri, (await git.getRepoPathFromFile(uri.fsPath)) || git.repoPath);
|
||||
|
||||
Reference in New Issue
Block a user