diff --git a/Scripts/create-branch.ps1 b/Scripts/create-branch.ps1 index a78c8842..61237b85 100755 --- a/Scripts/create-branch.ps1 +++ b/Scripts/create-branch.ps1 @@ -23,8 +23,8 @@ 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 - if ($lastExitCode -ne "0") { throw "'git fetch --all --recurse-submodules' failed" } + & git fetch --all --recurse-submodules --jobs=4 + if ($lastExitCode -ne "0") { throw "'git fetch' failed" } & git checkout -b "$NewBranchName" if ($lastExitCode -ne "0") { throw "'git checkout -b $NewBranchName' failed" } diff --git a/Scripts/create-tag.ps1 b/Scripts/create-tag.ps1 index 8d2bd714..02c5dd2b 100755 --- a/Scripts/create-tag.ps1 +++ b/Scripts/create-tag.ps1 @@ -23,8 +23,8 @@ 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 - if ($lastExitCode -ne "0") { throw "'git fetch --all --recurse-submodules' failed" } + & git fetch --all --recurse-submodules --jobs=4 + if ($lastExitCode -ne "0") { throw "'git fetch' failed" } & git tag "$NewTagName" if ($lastExitCode -ne "0") { throw "Error: 'git tag $NewTagName' failed!" } diff --git a/Scripts/list-branches.ps1 b/Scripts/list-branches.ps1 index 1e11843e..621f2e19 100755 --- a/Scripts/list-branches.ps1 +++ b/Scripts/list-branches.ps1 @@ -17,8 +17,8 @@ try { & git --version if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } - & git fetch --all --recurse-submodules - if ($lastExitCode -ne "0") { throw "'git fetch --all --recurse-submodules' failed" } + & git fetch --all --recurse-submodules --jobs=4 + if ($lastExitCode -ne "0") { throw "'git fetch' failed" } write-output "" write-output "List of Git Branches" diff --git a/Scripts/list-commits.ps1 b/Scripts/list-commits.ps1 index 6f318537..b6fb4fd0 100755 --- a/Scripts/list-commits.ps1 +++ b/Scripts/list-commits.ps1 @@ -17,8 +17,8 @@ try { & git --version if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" } - & git fetch --all --recurse-submodules - if ($lastExitCode -ne "0") { throw "'git fetch --all --recurse-submodules' failed" } + & git fetch --all --recurse-submodules --jobs=4 + if ($lastExitCode -ne "0") { throw "'git fetch' failed" } write-output "" write-output "List of Git Commits" diff --git a/Scripts/switch-branch.ps1 b/Scripts/switch-branch.ps1 index 7c8ac0a1..34637f83 100755 --- a/Scripts/switch-branch.ps1 +++ b/Scripts/switch-branch.ps1 @@ -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"