mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Disable Git Rename command if the resource is not under source control
This commit is contained in:
@@ -678,7 +678,7 @@
|
||||
},
|
||||
{
|
||||
"command": "git.rename",
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file"
|
||||
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0 && resourceScheme == file && scmActiveResourceRepository"
|
||||
},
|
||||
{
|
||||
"command": "git.commit",
|
||||
|
||||
Reference in New Issue
Block a user