Hi Jasper Sorry for the slow reply On 19/11/2026 15:14, Jasper Mayone wrote:
> Hi Phillip > > On 16/11/2026 16:42, Phillip Wood wrote:
>> When I suggested %(currentworktree) I was imagining it would be a >> boolean format like %(HEAD) (i.e. it would print '*' if the ref was >> checked out in the current worktree).
> > Thank you for the review. Our emails crossed: Junio was against 5/5, > because in a long branch list he wants the "+" next to the branch that > his own worktree is bisecting, and I agreed to stop the series at 3/5 > [1]. 4/5 existed only for 5/5, so it is dropped too.
That makes sense. I'd misunderstood what was happening as I thought that we were printing "* (no branch, rebasing topic) + topic" on the same entry, but in fact "* (no branch, rebasing topic)" is printed with HEAD and "+ topic" is the entry for the branch so it makes sense to keep the "+" Thanks Phillip
> Your idea to extend %(HEAD) to branches that are being rebased or > bisected is interesting. I will keep it, and your two points on the > implementation, in mind if I come back to this later. > > [1] https://lore.kernel.org/git/2026…@jaspermayone.com/ > > Thanks > Jasper