Re: [PATCH] checkpatch: check Signed-off-by: lines for patches coming from stdin

From: Javi Merino
Date: Tue Aug 11 2015 - 13:04:27 EST

On Tue, Aug 11, 2015 at 05:47:49PM +0100, Joe Perches wrote:
> On Tue, 2015-08-11 at 15:20 +0100, Javi Merino wrote:
> > Commit 34d8815f9512 ("checkpatch: add --showfile to allow input via pipe
> > to show filenames") disabled the ability to check for Signed-off-by
> > lines in patches that are fed to scripts/ from stdin. This
> > makes things like:
> >
> > git rebase --interactive --exec 'git format-patch --stdout -1 | scripts/ --strict -'
> This is akin to running checkpatch on patches to the stable tree.
> Generally unnecessary.

No, the rebase is not moving the base of the patches. The rebase is to run
checkpatch on every patch before sending it to the list. It's for
patches aiming mainline.

> I think patches should never be committed without a sign-off so
> the concept of using checkpatch when rebasing is fundamentally
> odd, but <shrug>, different workflows for different folks.

I guess other people run "git format-patch -o blah" and then run
scripts/ on blah. As you said, different workflows for
different folks.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at