|
From: | Paul Eggert |
Subject: | Re: [Emacs-diffs] emacs-25 5152b21 1/2: ; ChangeLog fixes |
Date: | Sun, 24 Jan 2016 11:52:04 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
Dmitry Gutov wrote:
Maybe we could add another linter step to the pre-commit-hook that would check the existence of file names mentioned in the message.
I typically use vc-dwim, which does that already. That is partly why I haven't bothered adding a separate linter step to build-aux/git-hooks/commit-msg. It'd be nice if the check were there for everybody.
vc-dwim also has the converse check. That is, it checks that every file affected by the commit is mentioned in the commit message. I prefer this check too, though I'm not sure everyone else would.
[Prev in Thread] | Current Thread | [Next in Thread] |