[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070316223608.GA23123@uranus.ravnborg.org>
Date: Fri, 16 Mar 2007 23:36:08 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Andrew Morton <akpm@...l.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] cleanpatch: a script to clean up stealth whitespace added by a patch
On Fri, Mar 16, 2007 at 02:45:06PM -0700, H. Peter Anvin wrote:
> 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@...or.com>
This and the companion "cleanfile" has been applied to kbuild.git.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists