summaryrefslogtreecommitdiffstats
path: root/pkg/gui/sub_commits_panel.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-27 20:50:30 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-27 21:51:07 +1000
commit40bec49de8428be4e771f2ded1e8ffecbd0c4fd5 (patch)
treef97d7d748bb2441d867e5b81c3a9a9323dde0aa6 /pkg/gui/sub_commits_panel.go
parentf99d5f74d49109c19f7701005e636a38c9a70fdb (diff)
more efficient refreshing of rebase commits
Diffstat (limited to 'pkg/gui/sub_commits_panel.go')
-rw-r--r--pkg/gui/sub_commits_panel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/sub_commits_panel.go b/pkg/gui/sub_commits_panel.go
index 571df1820..06793680f 100644
--- a/pkg/gui/sub_commits_panel.go
+++ b/pkg/gui/sub_commits_panel.go
@@ -77,7 +77,7 @@ func (gui *Gui) handleViewSubCommitFiles() error {
func (gui *Gui) switchToSubCommitsContext(refName string) error {
// need to populate my sub commits
- builder := commands.NewCommitListBuilder(gui.Log, gui.GitCommand, gui.OSCommand, gui.Tr, gui.State.Modes.CherryPicking.CherryPickedCommits)
+ builder := commands.NewCommitListBuilder(gui.Log, gui.GitCommand, gui.OSCommand, gui.Tr)
commits, err := builder.GetCommits(
commands.GetCommitsOptions{