mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Add config gui.experimentalShowBranchHeads
People find the new (*) display for branch heads in the commits list confusing, so make it opt-in for now.
This commit is contained in:
committed by
Jesse Duffield
parent
c6c4346d48
commit
fba1a2b5ac
@ -277,7 +277,7 @@ func displayCommit(
|
||||
} else {
|
||||
if len(commit.Tags) > 0 {
|
||||
tagString = theme.DiffTerminalColor.SetBold().Sprint(strings.Join(commit.Tags, " ")) + " "
|
||||
} else if commit.ExtraInfo != "" {
|
||||
} else if common.UserConfig.Gui.ExperimentalShowBranchHeads && commit.ExtraInfo != "" {
|
||||
tagString = style.FgMagenta.SetBold().Sprint("(*)") + " "
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user