Commit graph android_kernel_sony_sdm845/scripts/cleanfile
Message SHA1
scripts: Make cleanfile/cleanpatch warn about long lines
Make the "cleanfile" and "cleanpatch" script warn about long lines,
by default lines whose visual width exceeds 79 characters.

Per suggestion from Auke Kok.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

H. Peter Anvin   authored and   Sam Ravnborg   commited 2007-07-16 21:15:50 +02:00
cb3ed5b7e0
cleanfile: a script to clean up stealth whitespace
This script cleans up various classes of stealth whitespace.  In
particular, it cleans up:

- Whitespace (spaces or tabs)before newline;
- DOS line endings (CR before LF);
- Space before tab (spaces are deleted or converted to tabs);
- Empty lines at end of file.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>

H. Peter Anvin   authored and   Sam Ravnborg   commited 2007-05-02 20:58:08 +02:00
12b315603a