From ff8b184befe706428a813ea708904798d90255b0 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 16 Jan 2017 12:55:22 -0500 Subject: [PATCH] Fixes issue with file history working tree compare Would occur when the filename had changed --- CHANGELOG.md | 3 +++ package.json | 2 +- src/commands/showQuickFileHistory.ts | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90ca7d9..919621e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ --- ## Release Notes +### 1.4.2 + - Fixes issue where file history wouldn't compare correctly to working tree if the filename had changed + ### 1.4.1 - Adds `gitlens.advanced.gitignore.enabled` to enable/disable .gitignore parsing. Addresses [#20](https://github.com/eamodio/vscode-gitlens/issues/20) - Nested .gitignore files can cause blame to fail with a repo within another repo diff --git a/package.json b/package.json index df24709..7770aa9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gitlens", - "version": "1.4.1", + "version": "1.4.2", "author": { "name": "Eric Amodio", "email": "eamodio@gmail.com" diff --git a/src/commands/showQuickFileHistory.ts b/src/commands/showQuickFileHistory.ts index 79455e2..7be3b65 100644 --- a/src/commands/showQuickFileHistory.ts +++ b/src/commands/showQuickFileHistory.ts @@ -76,7 +76,7 @@ export default class ShowQuickFileHistoryCommand extends EditorCommand { } if (command) { - return commands.executeCommand(command, commit.uri, commit); + return commands.executeCommand(command, uri, commit); } } catch (ex) {