It is a PR for issue #8.
I needed to add cd {settings.BASE_DIR} before running the hook, since git changes hooks' working directory to the root of the working tree - if it is equal to BASE_DIR, then it's ok, but if not, then we must explicitly change the directory.
It is a PR for issue #8. I needed to add
cd {settings.BASE_DIR}
before running the hook, since git changes hooks' working directory to the root of the working tree - if it is equal toBASE_DIR
, then it's ok, but if not, then we must explicitly change the directory.