From f37ada4a70069fa0939df2d4a409191784108696 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Thu, 22 Apr 2021 09:31:58 +0200 Subject: [PATCH] Improve output of fetch-repos.ps1 --- Scripts/fetch-repos.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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++