Feature request: highlight local worktree in `worktree list`
- From
- Matt Hickford <matt.hickford@gmail.com>
- Date
- Mar 20, 2024, 08:00 UTC
- Message-ID
- <CAGJzqsmy9RcWJeFLkZjCrrhv_y5q_R3yYUMhcyafY3jOUJFxOg@mail.gmail.com>
Hi. `git branch` lists branches. It highlights the current branch with an asterisk and (for me) the colour green. This is handy for quick reading.
`git worktree list` lists worktrees. It would be neat to highlight the local worktree.
Another idea: `git branch -v` shows the commit subject and ahead/behind counts for each branch, eg. "[ahead 1, behind 1] avoid RegexReplace". It would be neat for `git worktree list -v` (or similar) to show the commit subject and ahead/behind counts.