From: Andy Whitcroft <apw@shadowen.org>
To: Greg KH <greg@kroah.com>
Cc: David Woodhouse <dwmw2@infradead.org>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
linux-usb@vger.kernel.org
Subject: Re: update checkpatch.pl to version 0.19
Date: Wed, 11 Jun 2008 09:49:53 +0100 [thread overview]
Message-ID: <20080611084953.GG6701@shadowen.org> (raw)
In-Reply-To: <20080609225843.GA23391@kroah.com>
On Mon, Jun 09, 2008 at 03:58:43PM -0700, Greg KH wrote:
> On Mon, Jun 09, 2008 at 12:09:41PM +0100, David Woodhouse wrote:
> > On Mon, 2008-06-09 at 09:33 +0100, Andy Whitcroft wrote:
> > > The issue I have is I have a comprehensive test suite which is kept in
> > > lock step with checkpatch itself, all in my own tree. Now that is
> > > just noise for mainline. What I want to be able to do is keep that in
> > > lock step with developments in my tree, but not merge it upstream. So
> > > far I've not found a workable solution with git for that.
> >
> > Why not make a tree which automatically tracks Linus' tree but only
> > includes checkpatch.pl. Then pull from that into your own tree before
> > you push your changes back.
>
> Or just use quilt. Or git. Or something that takes into account that
> your file will change in the mainline tree.
>
> Keeping code outside the kernel tree and then blindly doing a diff to
> generate a patch for submission is never considered a good idea, and
> causes real problems, as seen here.
Indeed, and I am using git. It is the fact that the surrounding test
suite is not submitted that means I need to work in a separate tree. I
have since this incident looked back over the history and yours was the
only change that did not come through me and so the problem has been
restricted to that one change.
But to prevent it occuring again I have rejigged my tree so that I can
simply maintain a real git branch for just the checkpatch changes, in
parallel to the version with the tests. This then allows me to merge
mainline and handle things correctly.
-apw
next prev parent reply other threads:[~2008-06-11 8:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200806061922.m56JMJuq025990@hera.kernel.org>
2008-06-06 23:30 ` update checkpatch.pl to version 0.19 Greg KH
2008-06-07 6:02 ` Andrew Morton
2008-06-07 17:34 ` Greg KH
2008-06-09 8:33 ` Andy Whitcroft
2008-06-09 11:09 ` David Woodhouse
2008-06-09 22:58 ` Greg KH
2008-06-11 8:49 ` Andy Whitcroft [this message]
2008-06-09 15:56 ` Roland Dreier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080611084953.GG6701@shadowen.org \
--to=apw@shadowen.org \
--cc=akpm@linux-foundation.org \
--cc=dwmw2@infradead.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox