Revert "Git - Improvements to opening git repositories in parent folders (#171617)" (#171662)

This reverts commit fe423bbdba.
This commit is contained in:
Ladislau Szomoru
2023-01-18 20:57:55 +01:00
committed by GitHub
parent d9c8615096
commit e37cad47f2
5 changed files with 67 additions and 230 deletions

View File

@@ -80,16 +80,16 @@
],
"file/share": [
{
"command": "github.copyVscodeDevLinkFile",
"when": "github.hasGitHubRepo",
"group": "0_vscode@0"
"command": "github.copyVscodeDevLinkFile",
"when": "github.hasGitHubRepo",
"group": "0_vscode@0"
}
],
"editor/context/share": [
{
"command": "github.copyVscodeDevLink",
"when": "github.hasGitHubRepo && resourceScheme != untitled",
"group": "0_vscode@0"
"command": "github.copyVscodeDevLink",
"when": "github.hasGitHubRepo && resourceScheme != untitled",
"group": "0_vscode@0"
}
]
},
@@ -119,12 +119,12 @@
{
"view": "scm",
"contents": "%welcome.publishFolder%",
"when": "config.git.enabled && git.state == initialized && workbenchState == folder && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0"
"when": "config.git.enabled && git.state == initialized && workbenchState == folder && git.unsafeRepositoryCount == 0"
},
{
"view": "scm",
"contents": "%welcome.publishWorkspaceFolder%",
"when": "config.git.enabled && git.state == initialized && workbenchState == workspace && workspaceFolderCount != 0 && git.parentRepositoryCount == 0 && git.unsafeRepositoryCount == 0"
"when": "config.git.enabled && git.state == initialized && workbenchState == workspace && workspaceFolderCount != 0 && git.unsafeRepositoryCount == 0"
}
],
"markdown.previewStyles": [