Thread (66 messages) 66 messages, 8 authors, 2019-04-29

Re: [PATCH] branch: colorize branches checked out in a linked working tree the same way as the current branch is colorized

From: Duy Nguyen <hidden>
Date: 2018-09-27 17:58:28

On Thu, Sep 27, 2018 at 5:15 PM Nickolai Belakovski
[off-list ref] wrote:
In order to more clearly display which branches are active, the output
of git branch is modified to colorize branches checked out in any linked
worktrees with the same color as the current branch.
My first thought was "how do I know which branch I'm on then if they
are all green?" but then the current worktree's branch would have a
"*" in front while other worktree's do not. Perhaps worth mentioning
in the commit message.

It may be better though to have a different color code for other
worktree's branch, we can still default the color to green, but people
who rely on colors rather than "*" can choose a different color.
-- 
Duy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help