summaryrefslogtreecommitdiffstats
path: root/pkg
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 22:00:53 +1100
commitd019626342991be940fef298df752f98d4e1847d (patch)
tree9c7c2b029a5e37f1df4cc93aeb3e38eeeca57d21 /pkg
parent595aca2a4ba8dbcfd62a7db1dac0ff302dc4bbf9 (diff)
do not show branch graph when in filtering mode
Diffstat (limited to 'pkg')
-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":