From ae98797bcae591d704b162ca05a3868957a6dee5 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 17 Jan 2022 19:24:10 +1100 Subject: [PATCH] do not show branch graph when in filtering mode --- pkg/gui/list_context_config.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/gui/list_context_config.go b/pkg/gui/list_context_config.go index 55f2b7895f7..e5ad6c0347b 100644 --- a/pkg/gui/list_context_config.go +++ b/pkg/gui/list_context_config.go @@ -229,6 +229,10 @@ func (gui *Gui) subCommitsListContext() IListContext { } func (gui *Gui) shouldShowGraph() bool { + if gui.State.Modes.Filtering.Active() { + return false + } + value := gui.UserConfig.Git.Log.ShowGraph switch value { case "always":