|
@ -6671,14 +6671,24 @@ |
|
|
], |
|
|
], |
|
|
"view/item/context": [ |
|
|
"view/item/context": [ |
|
|
{ |
|
|
{ |
|
|
|
|
|
"command": "gitlens.views.switchToAnotherBranch", |
|
|
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:branches\\b/", |
|
|
|
|
|
"group": "inline@10" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"command": "gitlens.views.createBranch", |
|
|
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:branches\\b/", |
|
|
|
|
|
"group": "inline@11" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
"command": "gitlens.views.repositories.setBranchesLayoutToList", |
|
|
"command": "gitlens.views.repositories.setBranchesLayoutToList", |
|
|
"when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == tree", |
|
|
"when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == tree", |
|
|
"group": "inline@1" |
|
|
|
|
|
|
|
|
"group": "inline@50" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"command": "gitlens.views.repositories.setBranchesLayoutToTree", |
|
|
"command": "gitlens.views.repositories.setBranchesLayoutToTree", |
|
|
"when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == list", |
|
|
"when": "viewItem =~ /gitlens:branches\\b/ && config.gitlens.views.repositories.branches.layout == list", |
|
|
"group": "inline@1" |
|
|
|
|
|
|
|
|
"group": "inline@50" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
"command": "gitlens.openBranchesOnRemote", |
|
|
"command": "gitlens.openBranchesOnRemote", |
|
@ -6687,9 +6697,19 @@ |
|
|
"alt": "gitlens.copyRemoteBranchesUrl" |
|
|
"alt": "gitlens.copyRemoteBranchesUrl" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
|
|
|
"command": "gitlens.views.switchToAnotherBranch", |
|
|
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:branches\\b/", |
|
|
|
|
|
"group": "1_gitlens_actions@1" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"command": "gitlens.views.createBranch", |
|
|
|
|
|
"when": "!gitlens:readonly && viewItem =~ /gitlens:branches\\b/", |
|
|
|
|
|
"group": "1_gitlens_actions@2" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
"command": "gitlens.openBranchesOnRemote", |
|
|
"command": "gitlens.openBranchesOnRemote", |
|
|
"when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/", |
|
|
"when": "viewItem =~ /gitlens:branches\\b(?=.*?\\b\\+remotes\\b)/", |
|
|
"group": "1_gitlens@1", |
|
|
|
|
|
|
|
|
"group": "2_gitlens_quickopen@1", |
|
|
"alt": "gitlens.copyRemoteBranchesUrl" |
|
|
"alt": "gitlens.copyRemoteBranchesUrl" |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|