|
18657 | 18657 | "when": "viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(remote|tracking)\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:repos:withRemotes", |
18658 | 18658 | "group": "1_gitlens_actions@3" |
18659 | 18659 | }, |
| 18660 | + { |
| 18661 | + "command": "gitlens.changeUpstream:views", |
| 18662 | + "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?=.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 18663 | + "group": "1_gitlens_actions@10" |
| 18664 | + }, |
| 18665 | + { |
| 18666 | + "command": "gitlens.setUpstream:views", |
| 18667 | + "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?!.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 18668 | + "group": "1_gitlens_actions@10" |
| 18669 | + }, |
18660 | 18670 | { |
18661 | 18671 | "command": "gitlens.views.mergeBranchInto", |
18662 | 18672 | "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
|
18692 | 18702 | "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
18693 | 18703 | "group": "1_gitlens_actions_2@2" |
18694 | 18704 | }, |
18695 | | - { |
18696 | | - "command": "gitlens.changeUpstream:views", |
18697 | | - "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?=.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
18698 | | - "group": "1_gitlens_actions_2@3" |
18699 | | - }, |
18700 | | - { |
18701 | | - "command": "gitlens.setUpstream:views", |
18702 | | - "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?!.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
18703 | | - "group": "1_gitlens_actions_2@3" |
18704 | | - }, |
18705 | 18705 | { |
18706 | 18706 | "command": "gitlens.views.deleteBranch", |
18707 | 18707 | "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
|
20175 | 20175 | "group": "inline@99", |
20176 | 20176 | "alt": "gitlens.views.pushWithForce" |
20177 | 20177 | }, |
| 20178 | + { |
| 20179 | + "command": "gitlens.changeUpstream:views", |
| 20180 | + "when": "viewItem =~ /gitlens:status(-branch)?:upstream:(ahead|behind|same|missing)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 20181 | + "group": "1_gitlens_actions@10" |
| 20182 | + }, |
20178 | 20183 | { |
20179 | 20184 | "command": "gitlens.views.pull", |
20180 | 20185 | "when": "viewItem =~ /gitlens:status(\\-branch)?:upstream:behind/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:repos:withRemotes", |
|
20195 | 20200 | "when": "viewItem =~ /gitlens:status(\\-branch)?:upstream:none/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && !gitlens:repos:withRemotes", |
20196 | 20201 | "group": "inline@2" |
20197 | 20202 | }, |
| 20203 | + { |
| 20204 | + "command": "gitlens.setUpstream:views", |
| 20205 | + "when": "viewItem =~ /gitlens:status(-branch)?:upstream:none/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 20206 | + "group": "1_gitlens_actions@10" |
| 20207 | + }, |
20198 | 20208 | { |
20199 | 20209 | "command": "gitlens.views.createBranch", |
20200 | 20210 | "when": "viewItem =~ /gitlens:status:upstream/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
|
24674 | 24684 | "when": "webviewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(remote|tracking)\\b)(?!.*?\\b\\+closed\\b)/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && gitlens:repos:withRemotes", |
24675 | 24685 | "group": "1_gitlens_actions@3" |
24676 | 24686 | }, |
| 24687 | + { |
| 24688 | + "command": "gitlens.changeUpstream:graph", |
| 24689 | + "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?=.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 24690 | + "group": "1_gitlens_actions@10" |
| 24691 | + }, |
| 24692 | + { |
| 24693 | + "command": "gitlens.setUpstream:graph", |
| 24694 | + "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?!.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 24695 | + "group": "1_gitlens_actions@10" |
| 24696 | + }, |
24677 | 24697 | { |
24678 | 24698 | "command": "gitlens.graph.mergeBranchInto", |
24679 | 24699 | "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
@@ -24709,21 +24729,11 @@ |
24709 | 24729 | "when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
24710 | 24730 | "group": "1_gitlens_actions_2@2" |
24711 | 24731 | }, |
24712 | | - { |
24713 | | - "command": "gitlens.changeUpstream:graph", |
24714 | | - "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?=.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
24715 | | - "group": "1_gitlens_actions_2@3" |
24716 | | - }, |
24717 | 24732 | { |
24718 | 24733 | "command": "gitlens.graph.deleteBranch", |
24719 | 24734 | "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+(current|checkedout)\\b)/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
24720 | 24735 | "group": "1_gitlens_actions_2@3" |
24721 | 24736 | }, |
24722 | | - { |
24723 | | - "command": "gitlens.setUpstream:graph", |
24724 | | - "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?!.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
24725 | | - "group": "1_gitlens_actions_2@3" |
24726 | | - }, |
24727 | 24737 | { |
24728 | 24738 | "command": "gitlens.graph.createBranch", |
24729 | 24739 | "when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
|
0 commit comments