pre-commit.git-hook doesn't check for changes files correctly.
Have a look. What's wrong here:
-if [ ! -z "ls ./changes/*" ]; then