|
9014 | 9014 | "title": "Reset Current Branch to Commit...", |
9015 | 9015 | "enablement": "!operationInProgress" |
9016 | 9016 | }, |
| 9017 | + { |
| 9018 | + "command": "gitlens.graph.resetToTag", |
| 9019 | + "title": "Reset Current Branch to Tag...", |
| 9020 | + "category": "GitLens", |
| 9021 | + "icon": "$(gitlens-reset)", |
| 9022 | + "enablement": "!operationInProgress" |
| 9023 | + }, |
9017 | 9024 | { |
9018 | 9025 | "command": "gitlens.graph.resetToTip", |
9019 | 9026 | "title": "Reset Current Branch to Tip...", |
|
9078 | 9085 | "icon": "$(gitlens-switch)", |
9079 | 9086 | "enablement": "!operationInProgress" |
9080 | 9087 | }, |
9081 | | - { |
9082 | | - "command": "gitlens.graph.resetToTag", |
9083 | | - "title": "Reset Current Branch to Tag...", |
9084 | | - "category": "GitLens", |
9085 | | - "icon": "$(gitlens-reset)", |
9086 | | - "enablement": "!operationInProgress" |
9087 | | - }, |
9088 | 9088 | { |
9089 | 9089 | "command": "gitlens.graph.createWorktree", |
9090 | 9090 | "title": "Create Worktree...", |
|
16303 | 16303 | "when": "!listMultiSelection && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:commit\\b/", |
16304 | 16304 | "group": "1_gitlens_actions@4" |
16305 | 16305 | }, |
| 16306 | + { |
| 16307 | + "command": "gitlens.graph.resetToTag", |
| 16308 | + "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && !listMultiSelection && webviewItem =~ /gitlens:tag\\b/", |
| 16309 | + "group": "1_gitlens_actions@2" |
| 16310 | + }, |
16306 | 16311 | { |
16307 | 16312 | "command": "gitlens.graph.resetToTip", |
16308 | 16313 | "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:branch\\b/", |
|
16423 | 16428 | "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:tag\\b/", |
16424 | 16429 | "group": "1_gitlens_actions@1" |
16425 | 16430 | }, |
16426 | | - { |
16427 | | - "command": "gitlens.graph.resetToTag", |
16428 | | - "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem =~ /gitlens:tag\\b/", |
16429 | | - "group": "1_gitlens_actions@2" |
16430 | | - }, |
16431 | 16431 | { |
16432 | 16432 | "command": "gitlens.graph.deleteTag", |
16433 | 16433 | "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && webviewItem == gitlens:tag", |
|
0 commit comments