emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Git hooks for checking file names in commit messages


From: Björn Bidar
Subject: Re: New Git hooks for checking file names in commit messages
Date: Sun, 23 Apr 2023 12:51:16 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> This would mean that a committer sees a warning about bad log messages 
>> (at post-commit time), but it doesn't actually prevent them from doing 
>> anything. A warning might be too easy to ignore, but maybe it's better 
>> than being silent about it. I'm not sure what to do here...
>
> A warning that doesn't preclude a commit from being pushed is much
> less useful, IMO.

I agree, especially if using a git frontend such as magit where you
maybe not see the full message unless you press $.

There are always options to disable the hooks in exceptional cases.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]