Re: [PATCH] cache-tree: invalidate i-t-a paths after writing trees
- From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
- Date
- Nov 30, 2012, 01:26 UTC
- Message-ID
- <CACsJy8BQO4G0YXf87jS+sEpd6+RW+UVULDEt80yzTiiisWS2-A@mail.gmail.com>
- In-Reply-To
- <7vhao8neck.fsf@alter.siamese.dyndns.org>
On Fri, Nov 30, 2012 at 7:06 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 13 quoted lines
> Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes: > >>> An alternative might be to add a "phoney" bit next to "used" in the >>> cache_tree structure, mark the cache tree as phoney when we skip an >>> entry marked as CE_REMOVE or CE_ITA, and make the postprocessing >>> loop this patch adds aware of that bit, instead of iterating over >>> the index entries; instead, it would recurse the resulting cache >>> tree and invalidate parts of the tree that have subtrees with the >>> "phoney" bit set, or something. >> >> Yeah, that sounds better. > > Did anything happen to this topic after this?
Not from my side because I forgot to mark this thread as a todo item and unsurprisingly forgot about it.
-- Duy