Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965517AbbHKREY (ORCPT ); Tue, 11 Aug 2015 13:04:24 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:42129 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965202AbbHKREW (ORCPT ); Tue, 11 Aug 2015 13:04:22 -0400 Date: Tue, 11 Aug 2015 18:04:14 +0100 From: Javi Merino To: Joe Perches Cc: "linux-kernel@vger.kernel.org" , Petr Mladek , Andy Whitcroft , Andrew Morton Subject: Re: [PATCH] checkpatch: check Signed-off-by: lines for patches coming from stdin Message-ID: <20150811170414.GA2711@e104805> References: <1439302814-5750-1-git-send-email-javi.merino@arm.com> <1439311669.3244.14.camel@perches.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1439311669.3244.14.camel@perches.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1342 Lines: 31 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/checkpatch.pl from stdin. This > > makes things like: > > > > git rebase --interactive --exec 'git format-patch --stdout -1 | scripts/checkpatch.pl --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 , different workflows for different folks. I guess other people run "git format-patch -o blah" and then run scripts/checkpatch.pl on blah. As you said, different workflows for different folks. Cheers, Javi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/