Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
do not show branch graph when in filtering mode
Browse files Browse the repository at this point in the history
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
@@ -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":

0 comments on commit ae98797

Please sign in to comment.