Skip to content

Commit

Permalink
do not show branch graph when in filtering mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed Jan 17, 2022
1 parent 595aca2 commit ae98797
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/gui/list_context_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit ae98797

Please sign in to comment.