mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Git: Delete Worktree... command for command palette only (#256827)
* Delete worktree picker command palette * clean up * Only allow delete worktree picker from main repository * Find main repository * resolve hygiene formatting issues
This commit is contained in:
@@ -551,6 +551,12 @@
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteWorktreeFromPalette",
|
||||
"title": "%command.deleteWorktreeFromPalette%",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.graph.deleteTag",
|
||||
"title": "%command.graphDeleteTag%",
|
||||
@@ -1309,6 +1315,10 @@
|
||||
"command": "git.deleteWorktree",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteWorktreeFromPalette",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount > 1"
|
||||
},
|
||||
{
|
||||
"command": "git.deleteRemoteTag",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
|
||||
Reference in New Issue
Block a user