Add --jobs=4 to git fetch

This commit is contained in:
Markus Fleschutz
2021-04-15 13:47:00 +02:00
parent 55f9c2e19f
commit e9c4c6415f
5 changed files with 9 additions and 9 deletions

View File

@ -23,7 +23,7 @@ try {
if ($lastExitCode -ne "0") { throw "'git status' failed in $RepoDir" }
if ("$Result" -notmatch "nothing to commit, working tree clean") { throw "Repository is NOT clean: $Result" }
& git fetch --all --recurse-submodules
& git fetch --all --recurse-submodules --jobs=4
if ($lastExitCode -ne "0") { throw "'git fetch' failed" }
& git switch --recurse-submodules "$BranchName"