|
12594 | 12594 | "when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/", |
12595 | 12595 | "group": "inline@1" |
12596 | 12596 | }, |
12597 | | - { |
12598 | | - "command": "gitlens.views.undoCommit", |
12599 | | - "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+HEAD\\b)/", |
12600 | | - "group": "inline@-2" |
12601 | | - }, |
12602 | 12597 | { |
12603 | 12598 | "command": "gitlens.views.push", |
12604 | 12599 | "when": "gitlens:hasRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+current\\b)(?=.*?\\b\\+unpublished\\b)(?=.*?\\b\\+HEAD\\b)/", |
|
12683 | 12678 | "when": "viewItem =~ /gitlens:file\\b/", |
12684 | 12679 | "group": "2_gitlens_quickopen@2" |
12685 | 12680 | }, |
| 12681 | + { |
| 12682 | + "command": "gitlens.showInDetailsView", |
| 12683 | + "when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory\\b)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/", |
| 12684 | + "group": "2_gitlens_quickopen@3" |
| 12685 | + }, |
12686 | 12686 | { |
12687 | 12687 | "command": "gitlens.views.openFile", |
12688 | 12688 | "when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/", |
@@ -14216,15 +14216,20 @@ |
14216 | 14216 | "when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory\\b)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/", |
14217 | 14217 | "group": "navigation@4" |
14218 | 14218 | }, |
| 14219 | + { |
| 14220 | + "command": "gitlens.views.undoCommit", |
| 14221 | + "when": "!gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+HEAD\\b)/", |
| 14222 | + "group": "1_gitlens_actions@0" |
| 14223 | + }, |
14219 | 14224 | { |
14220 | 14225 | "command": "gitlens.views.push", |
14221 | 14226 | "when": "gitlens:hasRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+current\\b)(?=.*?\\b\\+unpublished\\b)(?=.*?\\b\\+HEAD\\b)/", |
14222 | | - "group": "1_gitlens_actions@0" |
| 14227 | + "group": "1_gitlens_actions@1" |
14223 | 14228 | }, |
14224 | 14229 | { |
14225 | 14230 | "command": "gitlens.views.pushToCommit", |
14226 | 14231 | "when": "gitlens:hasRemotes && !gitlens:readonly && !gitlens:untrusted && !gitlens:hasVirtualFolders && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)(?=.*?\\b\\+current\\b)(?=.*?\\b\\+unpublished\\b)(?!.*?\\b\\+HEAD\\b)/", |
14227 | | - "group": "1_gitlens_actions@0" |
| 14232 | + "group": "1_gitlens_actions@2" |
14228 | 14233 | }, |
14229 | 14234 | { |
14230 | 14235 | "command": "gitlens.views.revert", |
|
0 commit comments