mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
Add Git: Clone Recursively option
This patch adds a new command, Git: Clone Recursively, that adds the --recursive option to git clone in order to also check out git submodules. Bug: 108381
This commit is contained in:
@@ -38,6 +38,11 @@
|
||||
"title": "%command.clone%",
|
||||
"category": "Git"
|
||||
},
|
||||
{
|
||||
"command": "git.cloneRecursively",
|
||||
"title": "%command.cloneRecursively%",
|
||||
"category": "Git"
|
||||
},
|
||||
{
|
||||
"command": "git.init",
|
||||
"title": "%command.init%",
|
||||
@@ -495,6 +500,10 @@
|
||||
"command": "git.clone",
|
||||
"when": "config.git.enabled && !git.missing"
|
||||
},
|
||||
{
|
||||
"command": "git.cloneRecursively",
|
||||
"when": "config.git.enabled && !git.missing"
|
||||
},
|
||||
{
|
||||
"command": "git.init",
|
||||
"when": "config.git.enabled && !git.missing"
|
||||
@@ -885,6 +894,11 @@
|
||||
"command": "git.showOutput",
|
||||
"group": "3_footer",
|
||||
"when": "scmProvider == git"
|
||||
},
|
||||
{
|
||||
"command": "git.cloneRecursively",
|
||||
"group": "3_footer",
|
||||
"when": "scmProvider == git"
|
||||
}
|
||||
],
|
||||
"scm/sourceControl": [
|
||||
|
||||
Reference in New Issue
Block a user