mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
migrate worktree changes (#262656)
* migrate worktree changes * detect LocalChangesOverwritten error before creating & applying stash * error handle * make error label clearer * delete redundant stash length check * clean up error handling
This commit is contained in:
@@ -551,6 +551,12 @@
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.migrateWorktreeChanges",
|
||||
"title": "%command.migrateWorktreeChanges%",
|
||||
"category": "Git",
|
||||
"enablement": "!operationInProgress"
|
||||
},
|
||||
{
|
||||
"command": "git.createWorktree",
|
||||
"title": "%command.createWorktree%",
|
||||
@@ -1327,6 +1333,10 @@
|
||||
"command": "git.deleteTag",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
},
|
||||
{
|
||||
"command": "git.migrateWorktreeChanges",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
},
|
||||
{
|
||||
"command": "git.createWorktree",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
|
||||
|
||||
Reference in New Issue
Block a user