On 14/09/15 15:47, Jeff King wrote:
On Mon, Sep 14, 2015 at 01:14:20PM +0100, Alan Clucas wrote:
Pass a single parameter 'amend' to the pre-commit hook when performing a
commit amend.
I think this is a sensible thing to want, and it has come up a few
times. I'm not sure why
code to revert back to the original code (which violates the
rule). Without this change I cannot detect this is an amend and reject the
change (unless --no-verify).
With this I can detect this is an amend and verify the patch as a whole
is not in violation of the rule.
Signed-off-by: Alan Clucas
2 matches
Mail list logo