diff options
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 9bfeae6c4..2bdb66e0f 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -128,6 +128,7 @@ type tagsPanelState struct { type commitPanelState struct { SelectedLine int SpecificDiffMode bool + LimitCommits bool } type reflogCommitPanelState struct { @@ -212,7 +213,7 @@ func NewGui(log *logrus.Entry, gitCommand *commands.GitCommand, oSCommand *comma Remotes: &remotePanelState{SelectedLine: 0}, RemoteBranches: &remoteBranchesState{SelectedLine: -1}, Tags: &tagsPanelState{SelectedLine: -1}, - Commits: &commitPanelState{SelectedLine: -1}, + Commits: &commitPanelState{SelectedLine: -1, LimitCommits: true}, ReflogCommits: &reflogCommitPanelState{SelectedLine: 0}, // TODO: might need to make -1 CommitFiles: &commitFilesPanelState{SelectedLine: -1}, Stash: &stashPanelState{SelectedLine: -1}, |