diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-30 00:53:08 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-30 00:53:08 +0400 |
commit | 0999b1db3c1aa886ff7a00e5978cd8d73c9350e7 (patch) | |
tree | f272b986d518a8d8e2f32558d00b3a3487e4941c /tests/fate.sh | |
parent | a8fe8d4fe9868b11bf6417e4b9b6b3e50d637b69 (diff) |
tests/fate.sh: run git reset only when fetch succeded
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/fate.sh')
-rwxr-xr-x | tests/fate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate.sh b/tests/fate.sh index 69dcdd6b58..f7367a960e 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 ) |