Skip to content

Commit 5ebb6cf

Browse files
committed
Adds create pr icon to branch nodes
1 parent 6f7fc11 commit 5ebb6cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7632,6 +7632,11 @@
76327632
"when": "gitlens:hasRemotes && !gitlens:readonly && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(remote|tracking)\\b)(?!.*?\\b\\+ahead\\b)(?!.*?\\b\\+behind\\b)/",
76337633
"group": "inline@8"
76347634
},
7635+
{
7636+
"command": "gitlens.views.createPullRequest",
7637+
"when": "gitlens:action:createPullRequest && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(tracking|remote)\\b)/",
7638+
"group": "inline@9"
7639+
},
76357640
{
76367641
"command": "gitlens.views.undoCommit",
76377642
"when": "!gitlens:readonly && viewItem =~ /gitlens:commit\\b(?=.*?\\b\\+HEAD\\b)/",

0 commit comments

Comments
 (0)