Re: [PATCH 4/8] read-cache: add invalidate parameter to remove_marked_cache_entries
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Dec 10, 2018, 18:33 UTC
- Message-ID
- <CACsJy8CR2p4784PxX2o+t4QcgyiU=QoiqLeB5o86cdyd5_fHEA@mail.gmail.com>
- In-Reply-To
- <CABPp-BH7CuNy-6wg1jnxytuwEF9Vw=8Y0N8dUhdCJJbyps2kyw@mail.gmail.com>
On Mon, Dec 10, 2018 at 7:25 PM Elijah Newren <newren@gmail.com> wrote:
Show 10 quoted lines
> > I'm not the unpack-trees man (I think that would still be Junio). And > > I'm not saying it's sane either. I think it's just some leftover > > things since Linus split "the index" in unpack-tree operation to > > 'src', 'result' and 'dst' many years ago and nobody was brave enough > > to clean it up (then I piled on with untracked cache and split index, > > but I did not see it clearly either). That person could be you ;-) > > Hmm, might make a good New Year's resolution: Enter the abyss, find > out if one can return from it... or maybe I could just sanely run > away screaming. We'll see.
I'm getting off topic. But my new years resolution would be optimize for the case where src_index == dst_index, which is somewhat ironic because we used to do everything in the same index, but it was a messy mess and had to be split up.
-- Duy