From: Nguyen Thai Ngoc Duy Date: Tue, 01 Feb 2011 17:05:55 GMT Subject: Re: Features from GitSurvey 2010 Message-ID: In-Reply-To: On Tue, Feb 1, 2011 at 11:27 PM, Shawn Pearce wrote: >>> > subtree clone >>> >>> Nguyễn Thái Ngọc Duy and Elijah Newren have done some design and >>> prototyping work. >> >> Git mailing list archives should contain proof of concept / RFC patches >> for this feature.  Quite interesting. > > I think Junio has already started thinking about this one. I need to get nd/pathspec right and implement negative pathspecs before returning to this feature. But there are still interesting issues: - narrow by directories or pathspecs (or unpack_trees() by directories or pathspecs) - widen a clone (negative pathspecs should help calculating necessary objects) - should commit objects that does not update narrow area be fetched (I recall it consumes a considerable amount. Security is also an issue) - push support for shallow clone (Elijah approach does not base on shallow clone, so it's non-issue) -- Duy