[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36208: 26.2.50; Add tooling for commit message format checking
From: |
Basil L. Contovounesios |
Subject: |
bug#36208: 26.2.50; Add tooling for commit message format checking |
Date: |
Fri, 05 Jul 2019 17:21:16 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Damien Cassou <damien@cassou.me> writes:
> writing commit messages that comply with Emacs' guidelines requires a
> good understanding of many details described in CONTRIBUTE. To reduce
> the workload of new contributors and of reviewers, part of these
> guidelines could be transformed into tools.
>
> Here are some of the checks that humans have to do these days:
>
> 1. dots after every sentence (even just "New function" must terminate
> with a dot)
> 2. double-space after dots ending sentences
> 3. no indentation (M-q adds 2 spaces which we don't want)
Are you using Magit's git-commit-mode? If so, see PR #3911:
https://github.com/magit/magit/pull/3911
Thanks,
--
Basil