This commit is contained in:
Markus Fleschutz 2021-09-06 19:18:59 +02:00
parent cf1ff0c33b
commit 00150f3a6c
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ try {
[int]$Step = 1 [int]$Step = 1
foreach ($Folder in $Folders) { foreach ($Folder in $Folders) {
$FolderName = (get-item "$Folder").Name $FolderName = (get-item "$Folder").Name
"Step $Step/$FolderCount: 🢃 Fetching 📂$($FolderName)..." "Step $Step/$($FolderCount): 🢃 Fetching 📂$($FolderName)..."
& git -C "$Folder" fetch --all --recurse-submodules --prune --prune-tags --jobs=4 & git -C "$Folder" fetch --all --recurse-submodules --prune --prune-tags --jobs=4
if ($lastExitCode -ne "0") { throw "'git fetch' failed" } if ($lastExitCode -ne "0") { throw "'git fetch' failed" }

View File

@ -29,7 +29,7 @@ try {
[int]$Step = 1 [int]$Step = 1
foreach ($Folder in $Folders) { foreach ($Folder in $Folders) {
$FolderName = (get-item "$Folder").Name $FolderName = (get-item "$Folder").Name
"Step $Step/$FolderCount: 🢃 Pulling 📂$($FolderName)..." "Step $Step/$($FolderCount): 🢃 Pulling 📂$($FolderName)..."
& git -C "$Folder" pull --recurse-submodules --jobs=4 & git -C "$Folder" pull --recurse-submodules --jobs=4
if ($lastExitCode -ne "0") { write-warning "'git pull' on 📂$FolderName failed" } if ($lastExitCode -ne "0") { write-warning "'git pull' on 📂$FolderName failed" }