mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-14 10:03:15 -05:00
Adds blame and active line annotation support to git diff split view
Adds command (compare, copy sha/message, etc) support to git diff split view Fixes #41 - Toggle Blame annotations on compare files page
This commit is contained in:
@@ -69,7 +69,7 @@ export default class GitCodeLensProvider implements CodeLensProvider {
|
||||
|
||||
if (languageLocations.location === CodeLensLocation.None) return lenses;
|
||||
|
||||
const gitUri = GitUri.fromUri(document.uri, this.git);
|
||||
const gitUri = await GitUri.fromUri(document.uri, this.git);
|
||||
|
||||
const blamePromise = this.git.getBlameForFile(gitUri.fsPath, gitUri.sha, gitUri.repoPath);
|
||||
let blame: IGitBlame;
|
||||
|
||||
Reference in New Issue
Block a user