Re: how to filter a pull
- From
Karl Hasselström <kha@treskal.com>
- Date
- May 4, 2007, 10:13 UTC
- Message-ID
- <20070504101329.GA16446@diana.vm.bytemark.co.uk>
- In-Reply-To
- <7vwszpzs33.fsf@assigned-by-dhcp.cox.net>
On 2007-05-03 11:21:04 -0700, Junio C Hamano wrote:
Show 7 quoted lines
> If I were doing this today, I would probably use separate > repositories, next to the primary project, to host the whole tree of > other projects, adjust the build procedure of the primary project to > borrow the whole of these other projects not just subtree -- and/or > have appropriate symlinks in the primary project that point into > relevant subtrees in the neighbouring repositories that host these > other projects.
It should be straightforward (and efficient) to make a script that takes an existing branch and makes a parallel branch that contains only one subtree of the first branch. This derived branch can then be used as a subproject or whatever.
Or is there some obvious reason why this wouldn't work, or would be inconvenient?
--
Karl Hasselström, kha@treskal.com
www.treskal.com/kalle