|
5746 | 5746 | "category": "GitLens", |
5747 | 5747 | "icon": "$(person-add)" |
5748 | 5748 | }, |
| 5749 | + { |
| 5750 | + "command": "gitlens.associateIssueWithBranch", |
| 5751 | + "title": "Associate Issue with Branch...", |
| 5752 | + "category": "GitLens" |
| 5753 | + }, |
5749 | 5754 | { |
5750 | 5755 | "command": "gitlens.annotations.nextChange", |
5751 | 5756 | "title": "Next Change", |
|
6302 | 6307 | "title": "Add as Co-author", |
6303 | 6308 | "icon": "$(person-add)" |
6304 | 6309 | }, |
| 6310 | + { |
| 6311 | + "command": "gitlens.graph.associateIssueWithBranch", |
| 6312 | + "title": "Associate Issue with Branch...", |
| 6313 | + "enablement": "!operationInProgress" |
| 6314 | + }, |
6305 | 6315 | { |
6306 | 6316 | "command": "gitlens.graph.cherryPick", |
6307 | 6317 | "title": "Cherry Pick Commit...", |
|
7553 | 7563 | "title": "Add Co-authors...", |
7554 | 7564 | "icon": "$(person-add)" |
7555 | 7565 | }, |
| 7566 | + { |
| 7567 | + "command": "gitlens.views.associateIssueWithBranch", |
| 7568 | + "title": "Associate Issue with Branch...", |
| 7569 | + "enablement": "!operationInProgress" |
| 7570 | + }, |
7556 | 7571 | { |
7557 | 7572 | "command": "gitlens.views.addRemote", |
7558 | 7573 | "title": "Add Remote...", |
|
9850 | 9865 | "command": "gitlens.applyPatchFromClipboard", |
9851 | 9866 | "when": "gitlens:enabled && !gitlens:untrusted && !gitlens:hasVirtualFolders" |
9852 | 9867 | }, |
| 9868 | + { |
| 9869 | + "command": "gitlens.associateIssueWithBranch", |
| 9870 | + "when": "gitlens:enabled && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders" |
| 9871 | + }, |
9853 | 9872 | { |
9854 | 9873 | "command": "gitlens.browseRepoAtRevision", |
9855 | 9874 | "when": "!gitlens:hasVirtualFolders && gitlens:enabled && resourceScheme =~ /^(gitlens|git|pr)$/" |
|
10250 | 10269 | "command": "gitlens.graph.addAuthor", |
10251 | 10270 | "when": "false" |
10252 | 10271 | }, |
| 10272 | + { |
| 10273 | + "command": "gitlens.graph.associateIssueWithBranch", |
| 10274 | + "when": "false" |
| 10275 | + }, |
10253 | 10276 | { |
10254 | 10277 | "command": "gitlens.graph.cherryPick", |
10255 | 10278 | "when": "false" |
|
11206 | 11229 | "command": "gitlens.views.applyChanges", |
11207 | 11230 | "when": "false" |
11208 | 11231 | }, |
| 11232 | + { |
| 11233 | + "command": "gitlens.views.associateIssueWithBranch", |
| 11234 | + "when": "false" |
| 11235 | + }, |
11209 | 11236 | { |
11210 | 11237 | "command": "gitlens.views.branches.copy", |
11211 | 11238 | "when": "false" |
|
15205 | 15232 | "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+(current|checkedout)\\b)(?!.*?\\b\\+closed\\b)/ && listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
15206 | 15233 | "group": "1_gitlens_actions@7" |
15207 | 15234 | }, |
| 15235 | + { |
| 15236 | + "command": "gitlens.views.associateIssueWithBranch", |
| 15237 | + "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
| 15238 | + "group": "1_gitlens_actions@8" |
| 15239 | + }, |
15208 | 15240 | { |
15209 | 15241 | "command": "gitlens.views.createBranch", |
15210 | 15242 | "when": "viewItem =~ /gitlens:branch\\b(?!.*?\\b\\+closed\\b)/ && !listMultiSelection && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
|
18091 | 18123 | "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+(current|checkedout)\\b)/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
18092 | 18124 | "group": "1_gitlens_actions@7" |
18093 | 18125 | }, |
| 18126 | + { |
| 18127 | + "command": "gitlens.graph.associateIssueWithBranch", |
| 18128 | + "when": "webviewItem =~ /gitlens:branch\\b(?!.*?\\b\\+remote\\b)/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
| 18129 | + "group": "1_gitlens_actions@8" |
| 18130 | + }, |
18094 | 18131 | { |
18095 | 18132 | "command": "gitlens.graph.createBranch", |
18096 | 18133 | "when": "webviewItem =~ /gitlens:branch\\b/ && !gitlens:hasVirtualFolders && !gitlens:readonly && !gitlens:untrusted", |
|
0 commit comments