From 1d289d2417b057c836817000da015a08764ba3b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Fri, 13 Dec 2019 16:17:43 +0000 Subject: [PATCH] rediriecting stderr --- scripts/git_checkout.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/git_checkout.ps1 b/scripts/git_checkout.ps1 index 04b51a2..b37b97a 100644 --- a/scripts/git_checkout.ps1 +++ b/scripts/git_checkout.ps1 @@ -15,12 +15,12 @@ if (Test-Path -PathType Container .git){ Write-Output "performing git pull..." - git checkout master - git reset --hard - git clean -fdx - git pull + git checkout master 2>&1 + git reset --hard 2>&1 + git clean -fdx 2>&1 + git pull 2>&1 # TODO: in case of errors: delete folder and clone } else { Write-Output "performing git clone..." - git clone --depth 1 https://github.com/llvm/llvm-project + git clone --depth 1 https://github.com/llvm/llvm-project 2>&1 } \ No newline at end of file