From 108ff345f746fa65deb9daf234d793e8251a59de Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 13 Nov 2018 21:10:31 -0200 Subject: Commit: avoid ssh lockfile issues by sleeping a bit --- commit | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'commit') 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 -- cgit v1.2.3