From: Silvio Rhatto Date: Tue, 13 Nov 2018 23:10:31 +0000 (-0200) Subject: Commit: avoid ssh lockfile issues by sleeping a bit X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=108ff345f746fa65deb9daf234d793e8251a59de;p=utils-git.git Commit: avoid ssh lockfile issues by sleeping a bit --- diff --git a/commit b/commit index 0bf2b18..ed72995 100755 --- a/commit +++ b/commit @@ -159,6 +159,10 @@ if [ ! -z "$1" ]; then git_user git_commit $* git_push + + # Avoid ssh lockfile issues by sleeping a bit + sleep 0.5 + $GIT fetch --all fi fi