aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-11-13 21:10:31 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-11-13 21:10:31 -0200
commit108ff345f746fa65deb9daf234d793e8251a59de (patch)
treede48cb04c626cec05bceb9f0f5e196a9a9577a18
parent068a857b6e5fcb52855ef8baea6b2830047e306a (diff)
downloadutils-git-108ff345f746fa65deb9daf234d793e8251a59de.tar.gz
utils-git-108ff345f746fa65deb9daf234d793e8251a59de.tar.bz2
Commit: avoid ssh lockfile issues by sleeping a bit
-rwxr-xr-xcommit4
1 files changed, 4 insertions, 0 deletions
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