mark a hook as executable authored by anarcat's avatar anarcat
...@@ -314,6 +314,10 @@ EOF ...@@ -314,6 +314,10 @@ EOF
exit 1 exit 1
``` ```
Make sure the hook is executable:
chmod +x hooks/pre-receive
Then in Gitolite, the repository must be put "in the Attic", using a Then in Gitolite, the repository must be put "in the Attic", using a
patch that looks something like this: patch that looks something like this:
... ...
......