From: Linus Torvalds Date: Mon, 26 Jul 2010 16:41:42 GMT Subject: Re: Avery Pennarun's git-subtree? Message-ID: In-Reply-To: <4C4DB9AC.9000306@xiplink.com> On Mon, Jul 26, 2010 at 9:37 AM, Marc Branchaud wrote: > > I think I should mention one aspect of what we're doing, which is that a lot > of our submodules are based on external code, and that we occasionally need > to modify or customize some of that code.  So it's quite nice for us to > maintain private git mirrors of the external repos, with our own private > branches that contain our modifications.  Although we want to get much of our > changes incorporated into the upstream code bases, upstream release cycles > are rarely in sync with ours. THIS. This is why I always thought that submodules absolutely have to be commits, not trees. It's why the git submodule data structures are done the way they are. Anything that makes the submodule just a tree is fundamentally broken, I think. That said, I'm not competent to comment on the actual user interface issues. I can well believe that git-subtree has a nicer interface. Linus