What do branch colours mean? #3680
-
Following on from #1622, what do branch colours mean? The branch starting Similarly, If I set What does a green branch name mean? Is it just that the branch was pulled recently? If so, is there a way to disable that? (I can already see it's recent from the "23h", and having override a custom colour really doesn't help, as I configured the custom colours for a reason :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
There's some very old code that has a hard-coded mapping of branch prefixes to colors. I find this pretty annoying and would vote for removing this code. If people do want to have a color scheme like this, they should configure their
(I don't use these branch prefixes myself, but I do occasionally check out other people's branches who do, and I don't want these to stand out in my branches list.) I'm surprised, however, that you say "the mystery greenness overrides my setting for the feature branch and my custom colour is ignored"; it should be the other way round, if you have a custom color it should win. As for coloring the main branches specially, I like the idea. I wonder if it should be a separate setting though (e.g. |
Beta Was this translation helpful? Give feedback.
-
Thanks — interestingly, if I have this, gui:
branchColors:
feature: default
"feature/foo": red
bugfix: default
hotfix: default |
Beta Was this translation helpful? Give feedback.
There's some very old code that has a hard-coded mapping of branch prefixes to colors.
I find this pretty annoying and would vote for removing this code. If people do want to have a color scheme like this, they should configure their
gui.branchColors
accordingly, but for those who don't, the only way to turn it off right now is to say(I don't use these branch prefixes myself, but I do occasionally check out other people's branches who do, and I don't want these to stand out in my branches list.)
I'm surprised, however, that you say "the mystery greenness overrides my setting for the feature branch and my c…