From 6897a64b652d83e477389ec1a248b47b8d821db6 Mon Sep 17 00:00:00 2001 From: Thorsten Glaser Date: Fri, 30 Aug 2013 12:40:30 +0200 Subject: 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 --- templates/hooks--pre-push.sample | 1 + 1 file changed, 1 insertion(+) (limited to 'templates/hooks--pre-push.sample') 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 -- cgit v1.2.3