From 58fb823c41b20e5913ec24246ea3b651ed2d2b24 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 7 Apr 2021 00:32:16 -0400 Subject: [PATCH] Fixes #1444 - diff w/ working for first commit --- CHANGELOG.md | 1 + src/commands/gitCommands.actions.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7148c63..969d4a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Fixed +- Fixes [1444](https://github.com/eamodio/vscode-gitlens/issues/1444) - File history view "Open Changes with Working File" does not work for the very first commit - Fixes [1448](https://github.com/eamodio/vscode-gitlens/issues/1448) - Hashes (#) are percent encoded in custom remote urls - Fixes [1447](https://github.com/eamodio/vscode-gitlens/issues/1447) - _Open File on Remote From..._ is missing remote branches - Fixes [1442](https://github.com/eamodio/vscode-gitlens/issues/1442) - Interactive Rebase Editor not opened but plain text file when called from terminal diff --git a/src/commands/gitCommands.actions.ts b/src/commands/gitCommands.actions.ts index 02c5388..5f5be10 100644 --- a/src/commands/gitCommands.actions.ts +++ b/src/commands/gitCommands.actions.ts @@ -435,7 +435,7 @@ export namespace GitActions { file = f; } - if (file.status === 'A' || file.status === 'D') return; + if (file.status === 'D') return; let ref; if (GitLogCommit.is(commitOrRef)) {