From aca81f63c4500e8a938a097709efc979e1e48ec9 Mon Sep 17 00:00:00 2001 From: Eric Amodio <eamodio@gmail.com> Date: Tue, 19 Jan 2021 22:03:54 -0500 Subject: [PATCH] Fixes publish showing up on remote branches --- CHANGELOG.md | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6710a76..2f71d1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Fixes [#1308](https://github.com/eamodio/vscode-gitlens/issues/1308) - Escape quotes for PRs titles - Fixes [#1309](https://github.com/eamodio/vscode-gitlens/issues/1309) - "Fetch" not working on remote branches - Fixes an issue where many views wouldn't refresh properly when going from no items to some items +- Fixes an issue where _Publish Branch_ was incorrectly showing up on remote branches ## [11.1.3] - 2021-01-05 diff --git a/package.json b/package.json index c63e80f..c570899 100644 --- a/package.json +++ b/package.json @@ -7084,7 +7084,7 @@ }, { "command": "gitlens.views.publishBranch", - "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+tracking\\b)/", + "when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+tracking\\b)/", "group": "inline@8" }, {