I'm trying to call a script using a post-commit hook, but it fails because it cannot find various commands.
My research has shown that there are basically no environment variables loaded when a post-commit hook is run, so I suppose that's why it can't find commands like ping
.
Is there anyway to define enough in my post-commit hook so that I can call a script that runs on baseline POSIX commands?