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:
parent
6da99a49a4
commit
3e623cd1ce
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user