Re: [PATCH] checkpatch: do not test/warn of leading whitespacebefore signature tags
From: Joe Perches
Date: Thu Aug 18 2011 - 04:56:12 EST
On Thu, 2011-08-18 at 01:43 -0700, Jeff Kirsher wrote:
> I understand what your saying, and I think that your suggestion about
> possibly implementing a "--input=git" option to checkpatch.pl might be a
> happy middle ground to resolve the numerous false warnings this check
> produces.
As far as I can tell, --ignore= suffices.
If you really want to use checkpatch for checking
already committed patches, maybe you should not
use git log but use git format-patch instead.
$ git format-patch -1 --stdout | ./scripts/checkpatch.pl -
That works without any problems.
--
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/