1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-05-15 22:26:40 +02:00

Remove the automatic coloring of certain branch names

We used to automatically color branches starting with "feature/", "bugfix/", or
"hotfix/". For those who don't want this, it's a bit non-obvious to turn off,
but it's actually pretty easy to configure manually for those who want this, so
we just remove this default coloring.
This commit is contained in:
Stefan Haller 2025-01-05 16:38:24 +01:00
parent 6da99a49a4
commit 3e623cd1ce

View File

@ -131,17 +131,8 @@ func GetBranchTextStyle(name string) style.TextStyle {
return value
}
switch branchType {
case "feature":
return style.FgGreen
case "bugfix":
return style.FgYellow
case "hotfix":
return style.FgRed
default:
return theme.DefaultTextColor
}
}
func BranchStatus(
branch *models.Branch,