[FFmpeg-cvslog] tests/fate.sh: run git reset only when fetch succeded

Michael Niedermayer git at videolan.org
Tue Oct 29 22:02:56 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 29 21:53:08 2013 +0100| [0999b1db3c1aa886ff7a00e5978cd8d73c9350e7] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0999b1db3c1aa886ff7a00e5978cd8d73c9350e7
---

 tests/fate.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fate.sh b/tests/fate.sh
index 69dcdd6..f7367a9 100755
--- a/tests/fate.sh
+++ b/tests/fate.sh
@@ -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
 )
 



More information about the ffmpeg-cvslog mailing list