winlin

refine script

... ... @@ -50,11 +50,11 @@ function sync_push()
for ((;;)); do
git push $*
ret=$?; if [[ 0 -ne $ret ]]; then
failed_msg "Retry for failed: $*"
failed_msg "Retry for failed: git push $*"
sleep 3
continue
else
ok_msg "Success: $*"
ok_msg "Success: git push $*"
fi
break
done
... ...