From: Gustavo Chaves Date: Wed, 21 Feb 2018 13:33:42 GMT Subject: Re: Why git-revert doesn't invoke the pre-commit and the commit-msg hooks? Message-ID: In-Reply-To: 2018-02-20 15:00 GMT-03:00 Junio C Hamano : > It would make more sense (if we were to add > an option to run any hook we currently do not run to the command) to > run pre-revert/revert-msg hooks instead, and then people who happen > to want to do the same thing in these hooks what they do for > ordinary commits can just call their pre-commit/commit-msg hooks > from there, perhaps. I like this idea very much as it doesn't break a long standing behaviour and simply introduces a new feature. -- Gustavo.