Revert "Git - Close Repository command should be disabled when there is only one repository opened (#184637)" (#184685)

This reverts commit 2cccaaee8a.
This commit is contained in:
Ladislau Szomoru
2023-06-09 10:26:47 +02:00
committed by GitHub
parent c000cb1474
commit 40474d7f45
+2 -2
View File
@@ -88,7 +88,7 @@
"command": "git.close",
"title": "%command.close%",
"category": "Git",
"enablement": "!operationInProgress && gitOpenRepositoryCount > 1"
"enablement": "!operationInProgress"
},
{
"command": "git.refresh",
@@ -773,7 +773,7 @@
},
{
"command": "git.close",
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount > 1"
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
},
{
"command": "git.refresh",