Add command to drop all stashes

This commit is contained in:
Ladislau Szomoru
2022-01-07 11:11:01 +01:00
parent 419e16a49c
commit 302c41cf4e
4 changed files with 41 additions and 1 deletions

View File

@@ -501,6 +501,11 @@
"title": "%command.stashDrop%",
"category": "Git"
},
{
"command": "git.stashDropAll",
"title": "%command.stashDropAll%",
"category": "Git"
},
{
"command": "git.timeline.openDiff",
"title": "%command.timelineOpenDiff%",
@@ -914,6 +919,10 @@
"command": "git.stashDrop",
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
},
{
"command": "git.stashDropAll",
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
},
{
"command": "git.timeline.openDiff",
"when": "false"
@@ -1651,6 +1660,10 @@
{
"command": "git.stashDrop",
"group": "stash@7"
},
{
"command": "git.stashDropAll",
"group": "stash@8"
}
],
"git.tags": [