Fixes issues with file renames

And other git related edge cases
This commit is contained in:
Eric Amodio
2016-08-31 15:03:22 -04:00
parent 0ccac8da8c
commit 92beca2542
5 changed files with 65 additions and 40 deletions

View File

@@ -36,7 +36,7 @@ export function activate(context: ExtensionContext) {
if (!uri) return;
}
return blameProvider.getBlameLocations(uri.path, blameRange).then(locations => {
return blameProvider.getBlameLocations(uri.path, blameProvider.repoPath, blameRange).then(locations => {
return commands.executeCommand(VsCodeCommands.ShowReferences, uri, range, locations);
});
}));