Skip to content

Commit 85805b7

Browse files
committed
Ensure command only shows on the commits view
1 parent 9e84226 commit 85805b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7021,7 +7021,7 @@
70217021
},
70227022
{
70237023
"command": "gitlens.views.commits.setShowBranchComparisonOff",
7024-
"when": "viewItem =~ /gitlens:compare:branch\\b/",
7024+
"when": "view =~ /gitlens\\.views\\.commits\\b/ && viewItem =~ /gitlens:compare:branch\\b/",
70257025
"group": "8_gitlens@1"
70267026
},
70277027
{

0 commit comments

Comments
 (0)