Cope better with a rebased LLVMTCE branch
@@ -45,8 +45,8 @@ function fetch_llvm {
else
cd $llvm_co_dir;
git checkout release/13.x || eexit "checking out git branch failed"
- git reset --hard HEAD || eexit "resetting --hard HEAD failed"
- git pull || eexit "error doing a git pull"
+ git fetch
+ git reset --hard origin/release/13.x || eexit "resetting --hard HEAD failed"
cd ..;
fi
}
