My post commit hook is not running after git. I have verified that the hook does work if I just run it from the terminal. The code in the hook is:
#!/bin/s
Try putting some echo lines before and after the perl line like this:
echo "post-commit started"
perl ...........
echo "post-commit finished"
This way you can confirm if the script is actually running, because when you run
git commit
you should see
post-commit started
post-commit finished
Towards the end of your output.