|
13943 | 13943 | },
|
13944 | 13944 | {
|
13945 | 13945 | "command": "gitlens.views.switchToAnotherBranch",
|
13946 |
| - "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(current|checkedout)\\b)(?!.*?\\b\\+closed\\b)/", |
| 13946 | + "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?!.*?\\b\\+closed\\b)/", |
13947 | 13947 | "group": "inline@7"
|
13948 | 13948 | },
|
13949 | 13949 | {
|
|
13953 | 13953 | },
|
13954 | 13954 | {
|
13955 | 13955 | "command": "gitlens.views.openWorktree",
|
13956 |
| - "when": "!gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+worktree\\b)(?!.*?\\b\\+closed\\b)/", |
| 13956 | + "when": "!gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+worktree\\b)(?!.*?\\b\\+(current|closed|opened)\\b)/", |
13957 | 13957 | "group": "inline@7",
|
13958 | 13958 | "alt": "gitlens.views.openWorktreeInNewWindow"
|
13959 | 13959 | },
|
@@ -14029,12 +14029,12 @@
|
14029 | 14029 | },
|
14030 | 14030 | {
|
14031 | 14031 | "command": "gitlens.views.openWorktree",
|
14032 |
| - "when": "!listMultiSelection && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+worktree\\b)(?!.*?\\b\\+closed\\b)/", |
| 14032 | + "when": "!listMultiSelection && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+worktree\\b)(?!.*?\\b\\+(current|closed|opened)\\b)/", |
14033 | 14033 | "group": "1_gitlens_action@1"
|
14034 | 14034 | },
|
14035 | 14035 | {
|
14036 | 14036 | "command": "gitlens.views.openWorktreeInNewWindow",
|
14037 |
| - "when": "!listMultiSelection && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+worktree\\b)(?!.*?\\b\\+closed\\b)/", |
| 14037 | + "when": "!listMultiSelection && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+worktree\\b)(?!.*?\\b\\+(current|closed|opened)\\b)/", |
14038 | 14038 | "group": "1_gitlens_action@2"
|
14039 | 14039 | },
|
14040 | 14040 | {
|
|
14044 | 14044 | },
|
14045 | 14045 | {
|
14046 | 14046 | "command": "gitlens.views.switchToAnotherBranch",
|
14047 |
| - "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+(current|checkedout)\\b)(?!.*?\\b\\+closed\\b)/", |
| 14047 | + "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:branch\\b(?=.*?\\b\\+current\\b)(?!.*?\\b\\+closed\\b)/", |
14048 | 14048 | "group": "1_gitlens_action@1"
|
14049 | 14049 | },
|
14050 | 14050 | {
|
|
0 commit comments