From 740474c10c7d2038a33f9861573a4a85213c2270 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 4 Apr 2023 09:19:06 +0200 Subject: [PATCH] Visualize branch heads in commits panel Useful when working with stacked branches. --- pkg/gui/presentation/commits.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/gui/presentation/commits.go b/pkg/gui/presentation/commits.go index 7875d51da..8a4d947c4 100644 --- a/pkg/gui/presentation/commits.go +++ b/pkg/gui/presentation/commits.go @@ -277,6 +277,8 @@ func displayCommit( } else { if len(commit.Tags) > 0 { tagString = theme.DiffTerminalColor.SetBold().Sprint(strings.Join(commit.Tags, " ")) + " " + } else if commit.ExtraInfo != "" { + tagString = style.FgMagenta.SetBold().Sprint("(*)") + " " } }