[yocto] [PATCH 0/1] Misc: detect trailing space in the patches

Daniel Stone daniel at fooishbar.org
Wed Dec 5 21:47:48 PST 2012


Hi,

On 6 December 2012 15:23, Martin Jansa <martin.jansa at gmail.com> wrote:

> Can you add also detection of mixed whitespace? E.g. tab followed by space
> in multilinear indentation? Only as warning. Thanks
>

These checks can generate infuriating false positives when your patch
modifies upstream code which has trailing or mixed whitespace in either
context or removal lines; in this case, removing a line with trailing
whitespace and replacing it with one which doesn't would generate a
warning.  Mixed whitespace is also part of some coding styles, notably the
kernel's.

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121206/39a46530/attachment.html>


More information about the yocto mailing list