summaryrefslogtreecommitdiffstats
path: root/pkg/gui/undoing.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-03-29 11:06:46 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-03-29 11:37:29 +1100
commit8822c409e24bc143d0fe68834cabcc80fadaf48d (patch)
treee27ab9c9b5cf58eb0a20d27711a0a77e251917a1 /pkg/gui/undoing.go
parentaa750c08192d9d19c32bd4a6125cdcd9bd66595f (diff)
split reflog commits into ReflogCommits and FilteredReflogCommits
Diffstat (limited to 'pkg/gui/undoing.go')
-rw-r--r--pkg/gui/undoing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/undoing.go b/pkg/gui/undoing.go
index d34bfe91d..06057af37 100644
--- a/pkg/gui/undoing.go
+++ b/pkg/gui/undoing.go
@@ -37,7 +37,7 @@ type reflogAction struct {
// Though we might support this later, hence the use of the CURRENT_REBASE action kind.
func (gui *Gui) parseReflogForActions(onUserAction func(counter int, action reflogAction) (bool, error)) error {
counter := 0
- reflogCommits := gui.State.ReflogCommits
+ reflogCommits := gui.State.FilteredReflogCommits
rebaseFinishCommitSha := ""
var action *reflogAction
for reflogCommitIdx, reflogCommit := range reflogCommits {