Skip to content

Commit 3e623cd

Browse files
committed
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.
1 parent 6da99a4 commit 3e623cd

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

pkg/gui/presentation/branches.go

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,16 +131,7 @@ func GetBranchTextStyle(name string) style.TextStyle {
131131
return value
132132
}
133133

134-
switch branchType {
135-
case "feature":
136-
return style.FgGreen
137-
case "bugfix":
138-
return style.FgYellow
139-
case "hotfix":
140-
return style.FgRed
141-
default:
142-
return theme.DefaultTextColor
143-
}
134+
return theme.DefaultTextColor
144135
}
145136

146137
func BranchStatus(

0 commit comments

Comments
 (0)