mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-16 09:35:40 -05:00
Fixes pathing issues on Windows
This commit is contained in:
@@ -276,7 +276,7 @@ export class GitService extends Disposable {
|
||||
async getBlameForFile(uri: GitUri): Promise<IGitBlame | undefined> {
|
||||
Logger.log(`getBlameForFile('${uri.repoPath}', '${uri.fsPath}', ${uri.sha})`);
|
||||
|
||||
const fileName = Git.normalizePath(uri.fsPath, uri.repoPath);
|
||||
const fileName = Git.normalizePath(uri.fsPath);
|
||||
|
||||
let entry: GitCacheEntry | undefined;
|
||||
if (this.UseGitCaching && !uri.sha) {
|
||||
@@ -356,7 +356,7 @@ export class GitService extends Disposable {
|
||||
} as IGitBlameLine;
|
||||
}
|
||||
|
||||
const fileName = Git.normalizePath(uri.fsPath, uri.repoPath);
|
||||
const fileName = Git.normalizePath(uri.fsPath);
|
||||
|
||||
try {
|
||||
const data = await Git.blame(uri.repoPath, fileName, uri.sha, line + 1, line + 1);
|
||||
|
||||
Reference in New Issue
Block a user