-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color branches by pattern #4118
Comments
This topic came up somewhere else a while ago, let me see... here: #3680 (reply in thread) I think the solution would be to change these to be regular expressions. But yes, that would be a breaking change, so maybe it could become a new config (e.g. |
Ok, I will try to implement that. Thank you for your answer |
I gave this one a go, let me know if there's any improvements I can make on it: #4130 |
Hello! |
I commented on Mauricio's PR, let's continue the discussion there. |
Fixed by #4130. |
Topic
On my work we name branches with the following pattern:
<jira board name>-<jira ticket number>-<branch name>
. For example:To visualize the difference between different board types I want to be able to set colors of branches in lazygit's config by some pattern. For example:
Right now this config won't work for me, because it searches for
IDS/<branch name>
andADE/<branch name>
patterns in this case.Your thoughts
I've implemented a dummy solution for my problem that can be seen here. Unfortunately, as you can see this will broke current logic of coloring. So, if lazygit's team is interested in this change, I would like to contribute. And in this case I need help with splitting logic for coloring of prefixes and patterns
The text was updated successfully, but these errors were encountered: