From: D. Ben Knoble Date: Fri, 25 Sep 2026 16:17:31 GMT Subject: Re: [PATCH v2 4/4] builtin/stash: merge index in-core Message-ID: In-Reply-To: <6e6420e8-3cbd-4975-a781-645e1ffbc1d2@gmail.com> On Fri, Sep 25, 2026 at 12:04 PM Phillip Wood wrote: > > Hi Junio > > On 24/09/2026 22:59, Junio C Hamano wrote: [snip] > > Perhaps the true culprit in this confusion is that the order in > > which merge_ort_nonrecursive() takes its three trees (head, merge, > > and common) and the order in which merge_incore_nonrecursive() takes > > its trees (merge_base, side1, and side2) are different, and if we > > fix them to match, it would make it easier to work with? > > I think it is definitely worth fixing them to take the trees in the same > order. My preference would be "base", "stage1", "stage2" but so long as > they match each other I dont object to "stage1", "stage2", "base". > > Thanks > > Phillip FWIW, I concur with changing them (and Phillip's preference of order), but I'll elect to leave that out of scope for this series. -- D. Ben Knoble