Re: Features from GitSurvey 2010
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Feb 1, 2011, 17:05 UTC
- Message-ID
- <AANLkTi=oTL2_ObcyKRb7bf7ZMPZoa1BU7uNH5pJRQtVC@mail.gmail.com>
- In-Reply-To
- <AANLkTinPAL2rEUMe-tRGFxSQ0-gfAJvSO7WW+f+2Fd2u@mail.gmail.com>
On Tue, Feb 1, 2011 at 11:27 PM, Shawn Pearce <spearce@spearce.org> wrote:
Show 9 quoted lines
>>> > 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