winlin

refine script

@@ -50,11 +50,11 @@ function sync_push() @@ -50,11 +50,11 @@ function sync_push()
50 for ((;;)); do 50 for ((;;)); do
51 git push $* 51 git push $*
52 ret=$?; if [[ 0 -ne $ret ]]; then 52 ret=$?; if [[ 0 -ne $ret ]]; then
53 - failed_msg "Retry for failed: $*" 53 + failed_msg "Retry for failed: git push $*"
54 sleep 3 54 sleep 3
55 continue 55 continue
56 else 56 else
57 - ok_msg "Success: $*" 57 + ok_msg "Success: git push $*"
58 fi 58 fi
59 break 59 break
60 done 60 done