mirror of
https://git.videolan.org/git/ffmpeg.git
synced 2024-10-03 01:21:46 +02:00
tests/fate.sh: run git reset only when fetch succeded
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a8fe8d4fe9
commit
0999b1db3c
@ -35,7 +35,7 @@ checkout(){
|
|||||||
update()(
|
update()(
|
||||||
cd ${src} || return
|
cd ${src} || return
|
||||||
case "$repo" in
|
case "$repo" in
|
||||||
git:*) git fetch --force; git reset --hard origin/master ;;
|
git:*) git fetch --force && git reset --hard origin/master ;;
|
||||||
esac
|
esac
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user