mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
rework deletion flow (#256415)
* rework deletion flow * change delete label * Revise deletion of worktree * reopen correct repo * clean up * Refactor deleteWorkspace command * Do not show deleteWorktree command in the command palette --------- Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
This commit is contained in:
@@ -1307,7 +1307,7 @@
|
||||
},
|
||||
{
|
||||
"command": "git.deleteWorktree",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteRemoteTag",
|
||||
@@ -2571,6 +2571,7 @@
|
||||
"group": "worktrees@1"
|
||||
},
|
||||
{
|
||||
"when": "scmProviderContext == worktree",
|
||||
"command": "git.deleteWorktree",
|
||||
"group": "worktrees@2"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user