Re: Feature request: highlight local worktree in `worktree list`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 20, 2024 at 07:38:57AM -0700, Junio C Hamano wrote:

> > I think the only thing it wouldn't do is show worktrees that are
> > detached from any branch at all. I'm not sure if that's important to
> > your workflow or not.
> 
> If such a mode in "git branch --list" were written, I would imagine
> that the output from such a mode will include detached HEAD from
> other worktrees as well.  Perhaps something like this?

Good point. I was thinking it only iterated on refs, but of course we
already show a detached HEAD in the main worktree.

-Peff




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux