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-11 22:13:33 +01:00
parent 6da99a49a4
commit 3e623cd1ce
+1 -10
View File
@@ -131,16 +131,7 @@ 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
}
return theme.DefaultTextColor
}
func BranchStatus(