On Tue, Sep 13, 2022 at 5:43 PM Junio C Hamano <gitster@xxxxxxxxx> wrote: > then a better approach would be to have a small helper > parse_local_worktree_ref() and make the primary one into something > like >... Thanks, good idea. I'm sending you a v2. -- Han-Wen Nienhuys - Google Munich I work 80%. Don't expect answers from me on Fridays. -- Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Paul Manicle, Liana Sebastian