Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 6897a64

Browse files
mirabilosgitster
authored andcommitted
fix shell syntax error in template
An if clause must not be empty; add a "colon" command. Signed-off-by: Thorsten Glaser <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent f59bebb commit 6897a64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/hooks--pre-push.sample

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ do
3030
if [ "$local_sha" = $z40 ]
3131
then
3232
# Handle delete
33+
:
3334
else
3435
if [ "$remote_sha" = $z40 ]
3536
then

0 commit comments

Comments
 (0)