Re: [PATCH] Lindent: Handle missing indent gracefully

From: Andrew Morton
Date: Fri Jul 10 2015 - 17:37:44 EST


On Fri, 10 Jul 2015 10:04:07 -0700 Joe Perches <joe@xxxxxxxxxxx> wrote:

> > Le Friday 10 July 2015 __ 04:51 -0700, Joe Perches a __crit :
> > > On Fri, 2015-07-10 at 13:47 +0200, Jean Delvare wrote:
> > > > If indent is not found, bail out immediately instead of spitting
> > > > random shell script error messages.
> > >
> > > OK, but can't we just delete Lindent instead?
> >
> > Because...?
>
> It's just not very useful in today's development space.

I've very occasionally used Lindent. It's useful if the input is an
utter mess. You feed it through Lindent as a first pass then get in and
do the remainder by hand.

It can be less work than doing the whole conversion by hand.

--
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/