Adds support for blame & log on compare files

Allows for deep navigation through git history
This commit is contained in:
Eric Amodio
2016-12-04 00:41:42 -05:00
parent 1a208b8691
commit 72ef5e2902
17 changed files with 136 additions and 63 deletions

View File

@@ -21,7 +21,7 @@ export default class DiffLineWithPreviousCommand extends EditorCommand {
line = line || editor.selection.active.line;
if (!commit || GitProvider.isUncommitted(commit.sha)) {
const gitUri = GitUri.fromUri(uri);
const gitUri = GitUri.fromUri(uri, this.git);
const blameline = line - gitUri.offset;
if (blameline < 0) return undefined;