linux-kernel-test/scripts
H. Peter Anvin 6e019b001d 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>
2007-05-02 20:58:08 +02:00
..
basic [PATCH] kbuild: fix dependency generation 2007-04-01 14:23:57 -07:00
genksyms kbuild: replace abort() with exit(1) 2006-06-24 23:46:54 +02:00
kconfig [PATCH] qconf: hide empty list items 2007-02-14 08:09:52 -08:00
ksymoops
mod kbuild: remove dependency on input.h from file2alias 2007-05-02 20:58:08 +02:00
package kbuild: fix "mkdir -p" usage in scripts/package/mkspec 2006-09-25 10:55:44 +02:00
rt-tester [PATCH] rtmutex: Modify rtmutex-tester to test the setscheduler propagation 2006-06-27 17:32:47 -07:00
.gitignore [PATCH] Add unifdef to gitignore 2006-10-02 19:46:55 -07:00
bin2c.c
binoffset.c update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
bloat-o-meter [PATCH] bloat-o-meter: gcc-4 fix 2006-06-25 10:01:00 -07:00
checkincludes.pl
checkstack.pl [POWERPC] make checkstack work with ARCH=powerpc 2006-08-25 13:30:27 +10:00
checkversion.pl kbuild: introduce utsrelease.h 2006-07-03 23:30:54 +02:00
cleanfile cleanfile: a script to clean up stealth whitespace 2007-05-02 20:58:08 +02:00
cleanpatch cleanpatch: a script to clean up stealth whitespace added by a patch 2007-05-02 20:58:08 +02:00
conmakehash.c
export_report.pl kbuild: export-symbol usage report generator 2006-06-24 23:14:02 +02:00
extract-ikconfig [PATCH] extract-ikconfig: don't use --long-options 2006-03-24 07:33:21 -08:00
gcc-version.sh
gcc-x86_64-has-stack-protector.sh [PATCH] Add the -fstack-protector option to the CFLAGS 2006-09-26 10:52:39 +02:00
gen_initramfs_list.sh [PATCH] kbuild scripts: replace gawk, head, bc with shell, update 2007-02-06 14:30:49 -08:00
hdrcheck.sh Use dependencies for 'make headers_install'. 2006-09-24 22:15:14 +01:00
kallsyms.c [PATCH] move kallsyms data to .rodata 2006-12-08 08:28:37 -08:00
Kbuild.include [PATCH] kbuild: more Makefile cleanups 2007-02-09 10:12:20 -08:00
kernel-doc [PATCH] kernel-doc: allow space after __attribute__ 2007-03-01 14:53:36 -08:00
Lindent
Makefile [PATCH] allow /proc/config.gz to be built as a module 2006-10-01 00:39:20 -07:00
Makefile.build kbuild: consistently decide when to rebuild a target 2006-09-25 09:00:00 +02:00
Makefile.clean kbuild: change kbuild to not rely on incorrect GNU make behavior 2006-03-06 00:09:51 +01:00
Makefile.headersinst [PATCH] translate dashes in filenames for headers install 2007-01-30 16:01:35 -08:00
Makefile.host kbuild: remove debug left-over from Makefile.host 2006-09-25 09:05:19 +02:00
Makefile.lib kbuild: fix ia64 breakage after introducing make -rR 2006-07-01 09:58:02 +02:00
Makefile.modinst kbuild: add option for stripping modules while installing them 2006-06-24 23:16:45 +02:00
Makefile.modpost kbuild: fix section mismatch check for vmlinux 2007-05-02 20:58:07 +02:00
makelst [PATCH] kbuild scripts: replace gawk, head, bc with shell, update 2007-02-06 14:30:49 -08:00
mkcompile_h [PATCH] Make mkcompile_h use LANG=C and LC_ALL=C for $CC -v 2007-02-14 08:09:51 -08:00
mkmakefile kbuild: Do not overwrite makefile as anohter user 2006-05-08 06:55:32 +02:00
mksysmap spelling: s/retreive/retrieve/ 2006-01-10 00:10:13 +01:00
mkuboot.sh [PATCH] search a little harder for mkimage 2007-02-14 08:09:51 -08:00
mkversion
namespace.pl kbuild: fix mode of checkstack.pl and other files. 2006-04-11 13:37:07 +02:00
patch-kernel update the email address of Randy Dunlap 2006-01-03 13:37:51 +01:00
pnmtologo.c
profile2linkerlist.pl [PATCH] x86_64: Basic reorder infrastructure 2006-03-25 09:10:56 -08:00
setlocalversion kbuild: append -dirty for updated but uncommited changes 2006-06-17 00:08:17 +02:00
show_delta kbuild: fix mode of checkstack.pl and other files. 2006-04-11 13:37:07 +02:00
unifdef.c kbuild: replace use of strlcpy with a dedicated implmentation in unifdef 2006-09-25 09:00:00 +02:00
ver_linux [PATCH] ver_linux additions 2006-12-07 08:39:38 -08:00