mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Git - cleanup delete worktree command implementation (#278018)
This commit is contained in:
@@ -585,8 +585,8 @@
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteWorktreeFromPalette",
|
||||
"title": "%command.deleteWorktreeFromPalette%",
|
||||
"command": "git.deleteWorktree2",
|
||||
"title": "%command.deleteWorktree2%",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
@@ -1437,10 +1437,6 @@
|
||||
"command": "git.createWorktree",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteWorktree",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.openWorktree",
|
||||
"when": "false"
|
||||
@@ -1450,9 +1446,13 @@
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteWorktreeFromPalette",
|
||||
"command": "git.deleteWorktree",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteWorktree2",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteRemoteTag",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
@@ -1937,7 +1937,7 @@
|
||||
"when": "scmProvider == git && scmProviderContext == worktree"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteWorktree",
|
||||
"command": "git.deleteWorktree2",
|
||||
"group": "2_worktree@1",
|
||||
"when": "scmProvider == git && scmProviderContext == worktree"
|
||||
}
|
||||
@@ -2954,7 +2954,7 @@
|
||||
},
|
||||
{
|
||||
"when": "scmProviderContext == worktree",
|
||||
"command": "git.deleteWorktree",
|
||||
"command": "git.deleteWorktree2",
|
||||
"group": "worktrees@2"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user