Commit 0999b1db authored by Michael Niedermayer's avatar Michael Niedermayer

tests/fate.sh: run git reset only when fetch succeded

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a8fe8d4f
......@@ -35,7 +35,7 @@ checkout(){
update()(
cd ${src} || return
case "$repo" in
git:*) git fetch --force; git reset --hard origin/master ;;
git:*) git fetch --force && git reset --hard origin/master ;;
esac
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment