From: Chris Torek Date: Thu, 21 Mar 2024 00:53:15 GMT Subject: Re: Feature request: highlight local worktree in `worktree list` Message-ID: In-Reply-To: <63dda239-1205-4aae-a3b2-10365147751c@gmail.com> On Wed, Mar 20, 2024 at 3:24 PM Rubén Justo wrote: > "git branch --list" has a much richer machinery than "git worktree list". > Perhaps the display machinery of both commands can converge in some way. I have no concrete suggestions for such, but I will note that there is a `git for-each-ref` plumbing command for refs, but no `git for-each-worktree` plumbing command for worktrees. Given the relationship here (each worktree has a worktree-specific set of refs), perhaps that's a point of leverage, as it were? Chris