[PATCH 1/1] UBUNTU: 'fdr editconfig' modification. Easily skip over unwanted menuconfigs.

Lee Jones lee.jones at canonical.com
Tue Jun 1 09:55:35 UTC 2010


> This is an odd one, as the original file did not conform, even to itself.
>
> For instance; the two case statements:
>
> One indents and uses quotes around the variable:
> --------------------------------------------------------------
> <snip>
>     case "$arch" in
>         amd64)    kernarch="x86_64"    ;;
> </snip>
> --------------------------------------------------------------
>
> The other does neither:
> --------------------------------------------------------------
> <snip>
>     case $config in
>     *)
> </snip>
> --------------------------------------------------------------
>
> The remainder of the kernel doesn't indent, but does use quotes and
> Emacs tells me it should be indented.
>
> Your call?
>
>   

Oh, and the BASH manual 'does' indent.

BASH & Emacs say "do indent".
Linux kernel says "don't indent".

I'll not submit a format change request until I have a definitive answer
from you guys.

Kind regards,
Lee




More information about the kernel-team mailing list