Skip to content

Commit 056e19c

Browse files
committed
Fixes #2482 moves Undo commit to Commit submenu
Adds Open Details to top level
1 parent 7c4d174 commit 056e19c

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1212

1313
### Fixed
1414

15+
- Fixes [#2746](https://github.com/gitkraken/vscode-gitlens/issues/2746) - Remove 'undo commit' command from gitlens inspect
1516
- Fixes [#2482](https://github.com/gitkraken/vscode-gitlens/issues/2482) - Unresponsive "commits" view and "branches" view update due to git log
1617

1718
## [14.5.2] - 2023-11-30

package.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12594,11 +12594,6 @@
1259412594
"when": "viewItem =~ /gitlens:(history:(file|line)|status:file)\\b/",
1259512595
"group": "inline@1"
1259612596
},
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-
},
1260212597
{
1260312598
"command": "gitlens.views.push",
1260412599
"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,6 +12678,11 @@
1268312678
"when": "viewItem =~ /gitlens:file\\b/",
1268412679
"group": "2_gitlens_quickopen@2"
1268512680
},
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+
},
1268612686
{
1268712687
"command": "gitlens.views.openFile",
1268812688
"when": "viewItem =~ /gitlens:(file|history:(file|line)|status:file)\\b/",
@@ -14216,15 +14216,20 @@
1421614216
"when": "view =~ /gitlens\\.views\\.(fileHistory|lineHistory\\b)/ && viewItem =~ /gitlens:file\\b(?=.*?\\b\\+committed\\b)/",
1421714217
"group": "navigation@4"
1421814218
},
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+
},
1421914224
{
1422014225
"command": "gitlens.views.push",
1422114226
"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"
1422314228
},
1422414229
{
1422514230
"command": "gitlens.views.pushToCommit",
1422614231
"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"
1422814233
},
1422914234
{
1423014235
"command": "gitlens.views.revert",

0 commit comments

Comments
 (0)