Re: [patch] scripts: clean-whitespace.sh

From: Oleg Verych
Date: Fri Jun 08 2007 - 10:51:01 EST


On Fri, Jun 08, 2007 at 04:28:49PM +0200, Sam Ravnborg wrote:
> On Thu, Jun 07, 2007 at 11:44:59PM -0700, Andrew Morton wrote:
> >
> > Then again, it's a better strategy than trying to read the code ;)
> >
> > Please, tell us what it does, so that we can decide whether we want it in
> > Linux.
>
> It does the same as cleanfile.pl.
> I have seen no reason to replace cleanfile.pl with this version.

It does better whitespace cleanup, than

scripts/{cleanfile *and* cleanpatch}

togather with more user, operating system kernel-friendly approach.
Please, test it on proposed testcase - ipv6.h, and you will see, what i'm
talking about. Patch description + script name is all one must to know to
start use it *safely*.

> Linecount is down but so is maintainability / extendability.

Really? If you think so...

For those, who have (X)emacs on board, i recommend "develock.el" as
good damage-showing tool.

Sorry, Andrew, for garbage in you patch subject filters :)
____
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/