Git - rename "Open Stash" to "Preview Stash" (#201973)

* Git - rename "Open Stash" to "Preview Stash"

* Add Preview Stash command to the "..." menu
This commit is contained in:
Ladislau Szomoru
2024-01-08 10:59:49 +01:00
committed by GitHub
parent cfebdd863a
commit f8616b9a2b
3 changed files with 12 additions and 7 deletions
+8 -3
View File
@@ -675,8 +675,8 @@
"enablement": "!operationInProgress"
},
{
"command": "git.stashOpen",
"title": "%command.stashOpen%",
"command": "git.stashPreview",
"title": "%command.stashPreview%",
"category": "Git",
"enablement": "!operationInProgress"
},
@@ -1264,7 +1264,7 @@
"when": "config.git.enabled && !git.missing && git.parentRepositoryCount != 0"
},
{
"command": "git.openStash",
"command": "git.stashPreview",
"when": "config.git.enabled && !git.missing && config.multiDiffEditor.experimental.enabled"
},
{
@@ -2103,6 +2103,11 @@
{
"command": "git.stashDropAll",
"group": "4_drop@2"
},
{
"command": "git.stashPreview",
"when": "config.multiDiffEditor.experimental.enabled",
"group": "5_preview@1"
}
],
"git.tags": [