commit | 6897a64b652d83e477389ec1a248b47b8d821db6 | [log] [tgz] |
---|---|---|
author | Thorsten Glaser <t.glaser@tarent.de> | Fri Aug 30 12:40:30 2013 +0200 |
committer | Junio C Hamano <gitster@pobox.com> | Fri Aug 30 09:56:30 2013 -0700 |
tree | badc1f7e1cd053e0d8d84419e071a81265bf6f18 | |
parent | f59bebb78edb26e4f66c2754bc4d168c5d4ebb4a [diff] [blame] |
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>
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 @@ if [ "$local_sha" = $z40 ] then # Handle delete + : else if [ "$remote_sha" = $z40 ] then