This commit is contained in:
Joao Moreno
2017-12-04 14:59:35 +01:00
parent 509a568163
commit 6e5e8abb16
3 changed files with 46 additions and 24 deletions

View File

@@ -518,7 +518,7 @@
{
"command": "git.init",
"group": "navigation",
"when": "config.git.enabled && !scmProvider && gitOpenRepositoryCount == 0"
"when": "config.git.enabled && !scmProvider && gitOpenRepositoryCount == 0 && workspaceFolderCount != 0"
},
{
"command": "git.commit",