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.1~20^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6897a64b652d83e477389ec1a248b47b8d821db6;p=thirdparty%2Fgit.git 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 --- 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