Re: [PATCH] sched: leave sched_setscheduler earlier if possible.

From: Peter Zijlstra
Date: Fri Mar 25 2011 - 09:05:11 EST


On Fri, 2011-03-25 at 08:52 -0400, Steven Rostedt wrote:
> > And you know I prefer to fix the tools ;-)
>
> And when the tools are fixed, I'll also prefer
>
So instead of complaining about it, tell people to use:

QUILT_DIFF_OPTS="-F ^[[:alpha:]\$_].*[^:]\$"

Just like you tell them about all your other patch style issues.

Junio, know of any way to make git-diff do the same? The purpose is to
skip labels as functions so that people stop doing stupid crap like
indenting labels, eg.:

void foo(void)
{
again:
/* do stuff */
if (retry)
goto again;
}

instead of the normal:

void foo(void)
{
again:
/* do stuff */
if (retry)
goto again;
}

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