I recently noticed that the checkpatch.pl script from the Linux kernel
nowadays issues a warning if you try to add, delete or move a file
without updating the MAINTAINERS file in the same turn, too. Since
we are also struggling with keeping the MAINTAINERS file of QEMU up to
date, it might be useful to have this feature in QEMU's checkpatch.pl,
too. So here is a port the upstream patches to our version of checkpatch,
including some patches to check for invalid utf-8 in the commit message
(which were a prerequisite to the MAINTAINERS patches due to the
$in_commit_log variable that is introduced there).
Thomas Huth (5):
checkpatch: add a check for utf-8 in commit logs
checkpatch: check utf-8 content from a commit log when it's missing
from charset
checkpatch: ignore email headers better
checkpatch: emit a reminder about MAINTAINERS on file add/move/delete
checkpatch: reduce MAINTAINERS update message frequency
scripts/checkpatch.pl | 57 +++++++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 53 insertions(+), 4 deletions(-)
--
1.8.3.1