diff --git a/Scripts/fetch-repos.ps1 b/Scripts/fetch-repos.ps1 index 17ffe562..655e63ab 100755 --- a/Scripts/fetch-repos.ps1 +++ b/Scripts/fetch-repos.ps1 @@ -18,10 +18,12 @@ try { [int]$Count = 0 get-childItem $ParentDir -attributes Directory | foreach-object { + "⏳ Fetching updates for Git repository 📂$($_.Name) ..." + set-location "$($_.FullName)" - & "$PSScriptRoot/fetch-repo.ps1" - if ($lastExitCode -ne "0") { throw "Script 'fetch-repo.ps1' failed" } + & git fetch --all --recurse-submodules --jobs=4 + if ($lastExitCode -ne "0") { throw "'git fetch' failed" } set-location .. $Count++