diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-03-16 14:45:06 -0700 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-02 20:58:08 +0200 |
commit | 6e019b001d27c4289f8e48ebc458e92410446259 (patch) | |
tree | e49759afd7e7a84b3b38fba521db1bdca5b2dc7d /scripts/Makefile.build | |
parent | 12b315603a1eb95b4e4ea3389ba44bd7ded0aa35 (diff) | |
download | op-kernel-dev-6e019b001d27c4289f8e48ebc458e92410446259.zip op-kernel-dev-6e019b001d27c4289f8e48ebc458e92410446259.tar.gz |
cleanpatch: a script to clean up stealth whitespace added by a patch
This script is a companion to the "cleanfile" script. This cleans
up a patch in unified diff format *before* it is applied. Note that
the empty lines at the end of file detection *requires* that the diff was
taken with at least one line of context around each hunk, or bad things
will happen.
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>
Diffstat (limited to 'scripts/Makefile.build')
0 files changed, 0 insertions, 0 deletions