From: Thorsten Glaser Date: Fri, 30 Aug 2013 10:40:30 +0000 (+0200) Subject: fix shell syntax error in template X-Git-Tag: v1.8.4.3~9^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/6897a64b652d83e477389ec1a248b47b8d821db6?hp=--cc fix shell syntax error in template An if clause must not be empty; add a "colon" command. Signed-off-by: Thorsten Glaser Signed-off-by: Junio C Hamano --- 6897a64b652d83e477389ec1a248b47b8d821db6 diff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample index 15ab6d8e7e..1f3bcebfd7 100755 --- a/templates/hooks--pre-push.sample +++ b/templates/hooks--pre-push.sample @@ -30,6 +30,7 @@ do if [ "$local_sha" = $z40 ] then # Handle delete + : else if [ "$remote_sha" = $z40 ] then