Messages in this thread | | | Date | Mon, 9 Jun 2008 15:58:43 -0700 | From | Greg KH <> | Subject | Re: update checkpatch.pl to version 0.19 |
| |
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.
thanks,
greg k-h
| |