From c81cb9e6ae805dc98fc77f2e7e13810c99fbcf68 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Thu, 15 Apr 2021 23:38:11 -0400 Subject: [PATCH] Adds compare w/ HEAD/Working to file/line history --- package.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package.json b/package.json index 8281adb..adff190 100644 --- a/package.json +++ b/package.json @@ -8032,6 +8032,16 @@ "group": "3_gitlens_explore@1" }, { + "command": "gitlens.views.compareWithHead", + "when": "view =~ /^gitlens\\.views\\.(fileHistory|lineHistory)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/", + "group": "4_gitlens_compare@2" + }, + { + "command": "gitlens.views.compareWithWorking", + "when": "view =~ /^gitlens\\.views\\.(fileHistory|lineHistory)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/", + "group": "4_gitlens_compare@3" + }, + { "command": "gitlens.views.applyChanges", "when": "!gitlens:readonly && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+stashed\\b)/", "group": "1_gitlens_actions@1"