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

Peter Zijlstra
2011-03-25T13:05:06Z

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;
}