diff --git a/internal/tui/bubbles/git/refs/bubble.go b/internal/tui/bubbles/git/refs/bubble.go index 53fec666a1aea7797338fdfabd5a7dbf407371f1..6796f0914019a59e7c76ec01e71619a3e2505e82 100644 --- a/internal/tui/bubbles/git/refs/bubble.go +++ b/internal/tui/bubbles/git/refs/bubble.go @@ -131,9 +131,10 @@ func (b *Bubble) updateItems() tea.Cmd { if r.Type() != plumbing.HashReference { continue } - if r.Name().IsTag() { + n := r.Name() + if n.IsTag() { tags = append(tags, item{r}) - } else { + } else if n.IsBranch() { its = append(its, item{r}) } }