Adding git stash drop for issue 76195

This commit is contained in:
Drew Cross
2019-06-29 07:19:20 -07:00
parent 08ad050c27
commit a047914487
5 changed files with 49 additions and 0 deletions

View File

@@ -391,6 +391,11 @@
"command": "git.stashApplyLatest",
"title": "%command.stashApplyLatest%",
"category": "Git"
},
{
"command": "git.dropStash",
"title": "%command.dropStash%",
"category": "Git"
}
],
"menus": {
@@ -642,6 +647,10 @@
{
"command": "git.stashApplyLatest",
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
},
{
"command": "git.dropStash",
"when": "config.get.enabled && gitOpeneRepositoryCount != 0"
}
],
"scm/title": [
@@ -795,6 +804,11 @@
"group": "6_stash",
"when": "scmProvider == git"
},
{
"command": "git.dropStash",
"group": "6_stash",
"when": "scmProvider == git"
},
{
"command": "git.showOutput",
"group": "7_repository",