an if clause must not be empty; add a "colon" command
Signed-off-by: Thorsten Glaser <t.glaser@tarent.de>
---
templates/hooks--pre-push.sample | 1 +
1 file changed, 1 insertion(+)
Show changes to templates/hooks--pre-push.sample +1 −0
diff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample
index 15ab6d8..1f3bceb 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
--
1.8.4.rc3