From 14e9c5b4fa434171b461063b52ada610d01ae7d7 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 19 Sep 2016 21:28:16 -0400 Subject: [PATCH] Fixes blame explorer failing to load content --- src/gitBlameContentProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gitBlameContentProvider.ts b/src/gitBlameContentProvider.ts index 2d0fdcc..8d1d38b 100644 --- a/src/gitBlameContentProvider.ts +++ b/src/gitBlameContentProvider.ts @@ -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