Fixes blame explorer failing to load content

This commit is contained in:
Eric Amodio
2016-09-19 21:28:16 -04:00
parent 69c4d44b49
commit 14e9c5b4fa

View File

@@ -51,7 +51,7 @@ export default class GitBlameContentProvider implements TextDocumentContentProvi
//const editor = this._findEditor(Uri.file(join(data.repoPath, data.file)));
return this.git.getVersionedFileText(data.originalFileName || data.fileName, data.sha, data.repoPath).then(text => {
return this.git.getVersionedFileText(data.originalFileName || data.fileName, data.repoPath, data.sha).then(text => {
this.update(uri);
// TODO: This only works on the first load -- not after since it is cached