From 85805b758438b0575a95143bba6d9e13873a0ab4 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Mon, 21 Sep 2020 01:18:57 -0400 Subject: [PATCH] Ensure command only shows on the commits view --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9bf07a9..7df545f 100644 --- a/package.json +++ b/package.json @@ -7021,7 +7021,7 @@ }, { "command": "gitlens.views.commits.setShowBranchComparisonOff", - "when": "viewItem =~ /gitlens:compare:branch\\b/", + "when": "view =~ /gitlens\\.views\\.commits\\b/ && viewItem =~ /gitlens:compare:branch\\b/", "group": "8_gitlens@1" }, {