On Mon, Dec 10, 2018 at 7:25 PM Elijah Newren <newren@xxxxxxxxx> wrote: > > 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