{"thread":{"id":"34809","subject":"[PATCH] fix shell syntax error in template","startedAt":"2013-08-30T10:40:30Z","lastAt":"2013-08-30T10:40:30Z","messageCount":1,"participants":["Thorsten Glaser"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"226337","messageId":"20130830104308.AAF467001B5@tglase.lan.tarent.de","threadId":"34809","inReplyTo":null,"subject":"[PATCH] fix shell syntax error in template","fromName":"Thorsten Glaser","fromEmail":"t.glaser@tarent.de","sentAt":"2013-08-30T10:40:30Z","receivedAt":"2013-08-30T10:40:30Z","isPatch":true,"sender":{"key":"t.glaser@tarent.de","avatar":"https://avatars.githubusercontent.com/u/861078?v=4"},"body":"an if clause must not be empty; add a \"colon\" command\n\nSigned-off-by: Thorsten Glaser <t.glaser@tarent.de>\n---\n templates/hooks--pre-push.sample | 1 +\n 1 file changed, 1 insertion(+)\n\ndiff --git a/templates/hooks--pre-push.sample b/templates/hooks--pre-push.sample\nindex 15ab6d8..1f3bceb 100755\n--- a/templates/hooks--pre-push.sample\n+++ b/templates/hooks--pre-push.sample\n@@ -30,6 +30,7 @@ do\n \tif [ \"$local_sha\" = $z40 ]\n \tthen\n \t\t# Handle delete\n+\t\t:\n \telse\n \t\tif [ \"$remote_sha\" = $z40 ]\n \t\tthen\n-- \n1.8.4.rc3\n"}]}