Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756706Ab3GYVx2 (ORCPT ); Thu, 25 Jul 2013 17:53:28 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:50795 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754001Ab3GYVx0 (ORCPT ); Thu, 25 Jul 2013 17:53:26 -0400 Date: Thu, 25 Jul 2013 22:53:15 +0100 From: Ben Hutchings To: Jason Cooper Cc: Rob Herring , "devicetree@vger.kernel.org" , "ksummit-2013-discuss@lists.linuxfoundation.org" , Russell King - ARM Linux , Domenico Andreoli , "linux-kernel@vger.kernel.org" , Dave P Martin , "linux-arm-kernel@lists.infradead.org" Message-ID: <20130725215315.GV7729@decadent.org.uk> References: <20130725193135.GT23879@titan.lakedaemon.net> <20130725203228.GX23879@titan.lakedaemon.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130725203228.GX23879@titan.lakedaemon.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ben@decadent.org.uk Subject: Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?] X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on shadbolt.decadent.org.uk) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1379 Lines: 32 On Thu, Jul 25, 2013 at 04:32:28PM -0400, Jason Cooper wrote: [...] > One of the things I've been trying to square up in my head is how to > retain the history of the binding when moving to the new tree. My > current idea was to clone the kernel tree, add one patch deleting > everything but the bindings and dts files, and one more patch moving > things where we want them (arch/{powerpc,arm}/boot/dts -> dts). > > Then, as needed, we could merge a kernel version tag and delete > everything we don't need (code) in the merge commit. > > The downside of this is it would be messy, the upside is that we could > closely track the kernel tree (until the bindings and dts are moved > out), and retain the history of the bindings and dts files. [...] It's *extremely* messy, but 'git filter-branch' might help to make a clean tracking branch preserving history of just DT files. David Woodhouse did something like that for the linux-firmware repo initially. Ben. -- Ben Hutchings We get into the habit of living before acquiring the habit of thinking. - Albert Camus -- 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/