error handling for pre-commit hooks
make gitjk work cross-platform