[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32636: 26.1; Support git commit --no-verify
From: |
Dmitry Gutov |
Subject: |
bug#32636: 26.1; Support git commit --no-verify |
Date: |
Tue, 11 Dec 2018 01:20:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:64.0) Gecko/20100101 Thunderbird/64.0 |
Version: 27.0
Hi!
On 05.09.2018 0:09, Matthias Meulien wrote:
Sometimes one wants to skip the pre-commit and commit-msg hooks when
commiting changes to a Git repository. At the present time, it isn't
possible using the Git interface of Emacs: One must switch to Git CLI.
The attached patch adds a function `vc-git-log-edit-toggle-no-verify`
and a key binding for that function, so that users can skip the
mentioned hooks.
Thank you, pushed to master.
Please note that the commit message was a bit lacking. Here's the one I
pushed with:
Support git commit --no-verify
* lisp/vc/vc-git.el (vc-git-log-edit-toggle-no-verify): New function.
(vc-git-log-edit-mode-map): Add binding.
(vc-git-checkin): Add an entry for that header.
- bug#32636: 26.1; Support git commit --no-verify,
Dmitry Gutov <=