Closed JJ closed 8 years ago
Juan, this is a bug in Git::Hooks. I'll try to fix it today. However, you may force it to fail by replacing the "print" call by something like this:
$git->error('COMMIT-MSG', "Ready fo fail");
Please, let me know if it works.
I'll let you know when I release a fix for this.
Thanks!
Thanks! If you give me a hint of where to look, I might lend you a hand...
Thanks, Juan. I just released v1.14.1 which should appear on CPAN shortly. Please, give it a try and tell me if it works for you.
:+1: Thanks!
This should fail the commit
But it does not:
Am I missing something? Shouldn't this return 0 with failure? It works even if it says 1, anyway.
This would be version 1.0.1, BTW. As you also see, there's a prepare-commit-msg hook running that is successful. But even all by itself it fails to fail, so that shouldn't be an issue.