diff options
author | Joe Perches <joe@perches.com> | 2011-11-01 01:13:12 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 01:30:57 +0100 |
commit | 15662b3e8644905032c2e26808401a487d4e90c1 (patch) | |
tree | 0eae1a68779bd314459a2bff55c43e266329015d /fs/nls/nls_cp852.c | |
parent | kernel.h/checkpatch: mark strict_strto<foo> and simple_strto<foo> as obsolete (diff) | |
download | linux-15662b3e8644905032c2e26808401a487d4e90c1.tar.xz linux-15662b3e8644905032c2e26808401a487d4e90c1.zip |
checkpatch: add a --strict check for utf-8 in commit logs
Some find using utf-8 in commit logs inappropriate.
Some patch commit logs contain unintended utf-8 characters when doing
things like copy/pasting compilation output.
Look for the start of any commit log by skipping initial lines that look
like email headers and "From: " lines.
Stop looking for utf-8 at the first signature line.
Signed-off-by: Joe Perches <joe@perches.com>
Suggested-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nls/nls_cp852.c')
0 files changed, 0 insertions, 0 deletions