fix shell syntax error in template
An if clause must not be empty; add a "colon" command. Signed-off-by: Thorsten Glaser <t.glaser@tarent.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thorsten Glaser committed
Aug 30, 2013 at 12:40 UTC
6897a64b652d83e477389ec1a248b47b8d821db6
1 file changed
+1
templates/hooks--pre-push.sample
+1
@@ -30,6 +30,7 @@ do
30
if [ "$local_sha" = $z40 ]
31
then
32
# Handle delete
33
+ :
34
else
35
if [ "$remote_sha" = $z40 ]
36
then