Fixes #1718 adds open current branch on remote#1950
Merged
eamodio merged 1 commit intogitkraken:mainfrom Jun 13, 2022
Merged
Conversation
d13
commented
Apr 6, 2022
eamodio
requested changes
Jun 13, 2022
package.json
Outdated
Comment on lines
+8760
to
+8764
| { | ||
| "command": "gitlens.openCurrentBranchOnRemote", | ||
| "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/", | ||
| "group": "inline@100" | ||
| }, |
Member
There was a problem hiding this comment.
I'm guessing that this is a duplication issue, as it doesn't really make sense. Since if we are opening the context menu for a branch, I don't think we want an option to open the current branch.
package.json
Outdated
Comment on lines
+8826
to
+8830
| { | ||
| "command": "gitlens.openCurrentBranchOnRemote", | ||
| "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/", | ||
| "group": "2_gitlens_quickopen@2" | ||
| }, |
package.json
Outdated
Comment on lines
+9519
to
+9523
| { | ||
| "command": "gitlens.openCurrentBranchOnRemote", | ||
| "when": "gitlens:hasRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:status:upstream:(?!none)/", | ||
| "group": "inline@100" | ||
| }, |
Member
There was a problem hiding this comment.
While slightly different than above, it also doesn't make sense.
package.json
Outdated
Comment on lines
+9565
to
+9569
| { | ||
| "command": "gitlens.openCurrentBranchOnRemote", | ||
| "when": "gitlens:hasRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:status:upstream:(?!none)/", | ||
| "group": "2_gitlens_quickopen@2" | ||
| }, |
72bc4e9 to
ab87069
Compare
- adds command palette action
ab87069 to
404c88e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds a command palette action to "Open Current Branch on Remote".
Fixes #1718
Checklist
Fixes $XXX -orCloses #XXX -prefix to auto-close the issue that your PR addresses