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:
Eric Amodio
2017-03-03 12:43:50 -05:00
parent a3a4a5bc49
commit 4da21c3cc1
22 changed files with 65 additions and 47 deletions

View File

@@ -22,7 +22,7 @@ export class ShowFileHistoryCommand extends EditorCommand {
position = editor.document.validateRange(new Range(0, 0, 0, 1000000)).start;
}
const gitUri = GitUri.fromUri(uri, this.git);
const gitUri = await GitUri.fromUri(uri, this.git);
try {
const locations = await this.git.getLogLocations(gitUri.fsPath, gitUri.sha, gitUri.repoPath, sha, line);