From e76c53dae83ccbc6b72aba1ad5ee2614753d52c8 Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 27 Nov 2014 08:03:21 +0800 Subject: [PATCH] sleep when git commit failed. --- trunk/scripts/git.commit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/trunk/scripts/git.commit.sh b/trunk/scripts/git.commit.sh index 2ad3a83ea..ca85d80fb 100755 --- a/trunk/scripts/git.commit.sh +++ b/trunk/scripts/git.commit.sh @@ -43,6 +43,7 @@ function sync_push() git push $* ret=$?; if [[ 0 -ne $ret ]]; then failed_msg "Retry for failed: $*" + sleep 3 continue else ok_msg "Success: $*"