Closed boudekerk closed 7 years ago
Just to add, it is enabled via the githooks.nocarp option as indicated by the Changelog/documentation.
Updated my comment and the title, as I haven't actually tested with 2.0.0
Hi. I think I fixed it in v2.1.6 which I just released. Please try it out and let me know if it works for you.
Thank you for the heads up!
I think the behaviour is reversed now. We now never get the suffix, regardless of the nocarp setting. Which 'works for me', as I can now deploy it to production, but I guess it's still not the correct behaviour.
Hi. It took me a while to be able to get back to this.
As I payed more attention to the issue I realized that the nocarp directive doesn't make sense in GH version 2 because the hooks now don't signal errors by dying but by registering error messages via the error method and returning 0. So, their messages shouldn't have line numbers inserted by Perl in any case.
So, I removed the directive from the documentation and from the code altogether in c6e08f1.
OK?
I just released v2.1.7. Please, check it out and tell me if it works for you.
Works great. Thank you
After upgrading to 2.x, setting nocarp to 1 has no effect anymore:
This worked with the 1.16.0 and doesn't for any version since 2.0.1, including the latest 2.1.3