]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: check utf-8 content from a commit log when it's missing from charset
authorPasi Savanainen <pasi.savanainen@nixu.com>
Fri, 21 Sep 2012 01:02:13 +0000 (11:02 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 08:46:39 +0000 (18:46 +1000)
commita460587b07d5640b56e76f7ab32da7d6e766a9c0
treecdf1ce50359f45d392d7fdabeb0b10ad8af863ae
parent29e99b29c367c8d4ef8c6841e6bcc465c75135be
checkpatch: check utf-8 content from a commit log when it's missing from charset

Check that a commit log doesn't contain UTF-8 when a mail header
explicitly defines a different charset, like

'Content-Type: text/plain; charset="us-ascii"'

Signed-off-by: Pasi Savanainen <pasi.savanainen@nixu.com>
Cc: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl