mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Merge 988444c9dc into 8924bca76f
This commit is contained in:
commit
8a87f86166
|
|
@ -9,6 +9,12 @@ import (
|
|||
|
||||
func GetRemoteBranchListDisplayStrings(branches []*models.RemoteBranch, diffName string) [][]string {
|
||||
return lo.Map(branches, func(branch *models.RemoteBranch, _ int) []string {
|
||||
if branch == nil {
|
||||
if icons.IsIconEnabled() {
|
||||
return []string{"", ""}
|
||||
}
|
||||
return []string{""}
|
||||
}
|
||||
diffed := branch.FullName() == diffName
|
||||
return getRemoteBranchDisplayStrings(branch, diffed)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue