On Tue, Feb 1, 2011 at 11:27 PM, Shawn Pearce <spearce@xxxxxxxxxxx> 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 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html