|
6358 | 6358 | "title": "Change Branch Merge Target",
|
6359 | 6359 | "category": "GitLens"
|
6360 | 6360 | },
|
| 6361 | + { |
| 6362 | + "command": "gitlens.changeUpstream:graph", |
| 6363 | + "title": "Change Upstream...", |
| 6364 | + "icon": "$(link)", |
| 6365 | + "enablement": "!operationInProgress" |
| 6366 | + }, |
| 6367 | + { |
| 6368 | + "command": "gitlens.changeUpstream:views", |
| 6369 | + "title": "Change Upstream...", |
| 6370 | + "icon": "$(link)", |
| 6371 | + "enablement": "!operationInProgress" |
| 6372 | + }, |
6361 | 6373 | {
|
6362 | 6374 | "command": "gitlens.clearFileAnnotations",
|
6363 | 6375 | "title": "Clear File Annotations",
|
|
7595 | 7607 | "title": "Reveal Commit in Side Bar",
|
7596 | 7608 | "category": "GitLens"
|
7597 | 7609 | },
|
| 7610 | + { |
| 7611 | + "command": "gitlens.setUpstream:graph", |
| 7612 | + "title": "Set Upstream...", |
| 7613 | + "icon": "$(link)", |
| 7614 | + "enablement": "!operationInProgress" |
| 7615 | + }, |
| 7616 | + { |
| 7617 | + "command": "gitlens.setUpstream:views", |
| 7618 | + "title": "Set Upstream...", |
| 7619 | + "icon": "$(link)", |
| 7620 | + "enablement": "!operationInProgress" |
| 7621 | + }, |
7598 | 7622 | {
|
7599 | 7623 | "command": "gitlens.shareAsCloudPatch",
|
7600 | 7624 | "title": "Share as Cloud Patch...",
|
|
10899 | 10923 | "command": "gitlens.changeBranchMergeTarget",
|
10900 | 10924 | "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders"
|
10901 | 10925 | },
|
| 10926 | + { |
| 10927 | + "command": "gitlens.changeUpstream:graph", |
| 10928 | + "when": "false" |
| 10929 | + }, |
| 10930 | + { |
| 10931 | + "command": "gitlens.changeUpstream:views", |
| 10932 | + "when": "false" |
| 10933 | + }, |
10902 | 10934 | {
|
10903 | 10935 | "command": "gitlens.clearFileAnnotations",
|
10904 | 10936 | "when": "resource in gitlens:tabs:blameable && (gitlens:window:annotated || resource in gitlens:tabs:annotated)"
|
|
11859 | 11891 | "command": "gitlens.revealCommitInView",
|
11860 | 11892 | "when": "resource in gitlens:tabs:blameable"
|
11861 | 11893 | },
|
| 11894 | + { |
| 11895 | + "command": "gitlens.setUpstream:graph", |
| 11896 | + "when": "false" |
| 11897 | + }, |
| 11898 | + { |
| 11899 | + "command": "gitlens.setUpstream:views", |
| 11900 | + "when": "false" |
| 11901 | + }, |
11862 | 11902 | {
|
11863 | 11903 | "command": "gitlens.shareAsCloudPatch",
|
11864 | 11904 | "when": "gitlens:enabled && gitlens:gk:organization:drafts:enabled && config.gitlens.cloudPatches.enabled"
|
|
16923 | 16963 | "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders",
|
16924 | 16964 | "group": "1_gitlens_actions_2@2"
|
16925 | 16965 | },
|
| 16966 | + { |
| 16967 | + "command": "gitlens.changeUpstream:views", |
| 16968 | + "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?=.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 16969 | + "group": "1_gitlens_actions_2@3" |
| 16970 | + }, |
| 16971 | + { |
| 16972 | + "command": "gitlens.setUpstream:views", |
| 16973 | + "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?!.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 16974 | + "group": "1_gitlens_actions_2@3" |
| 16975 | + }, |
16926 | 16976 | {
|
16927 | 16977 | "command": "gitlens.views.deleteBranch",
|
16928 | 16978 | "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+current\\b)(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders",
|
@@ -22755,11 +22805,21 @@
|
22755 | 22805 | "when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders",
|
22756 | 22806 | "group": "1_gitlens_actions_2@2"
|
22757 | 22807 | },
|
| 22808 | + { |
| 22809 | + "command": "gitlens.changeUpstream:graph", |
| 22810 | + "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?=.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 22811 | + "group": "1_gitlens_actions_2@3" |
| 22812 | + }, |
22758 | 22813 | {
|
22759 | 22814 | "command": "gitlens.graph.deleteBranch",
|
22760 | 22815 | "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+(current|checkedout)\\b)/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders",
|
22761 | 22816 | "group": "1_gitlens_actions_2@3"
|
22762 | 22817 | },
|
| 22818 | + { |
| 22819 | + "command": "gitlens.setUpstream:graph", |
| 22820 | + "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)(?!.*?\\b\\+closed\\b)(?!.*?\\b\\+tracking\\b)/ && !listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders", |
| 22821 | + "group": "1_gitlens_actions_2@3" |
| 22822 | + }, |
22763 | 22823 | {
|
22764 | 22824 | "command": "gitlens.graph.createBranch",
|
22765 | 22825 | "when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders",
|
|
0 commit comments