summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-01-17 19:24:10 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-01-17 19:24:10 +1100
commitae98797bcae591d704b162ca05a3868957a6dee5 (patch)
tree9c7c2b029a5e37f1df4cc93aeb3e38eeeca57d21
parent595aca2a4ba8dbcfd62a7db1dac0ff302dc4bbf9 (diff)
do not show branch graph when in filtering modev0.32.2
-rw-r--r--pkg/gui/list_context_config.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/list_context_config.go b/pkg/gui/list_context_config.go
index 55f2b7895..e5ad6c034 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":