summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-03-26 17:08:23 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-26 17:22:42 +1100
commite039429885996f1335430a856b846d8dc6279325 (patch)
treeb33c536d4cbf1d4f64fdb106ea60f396508cf580 /pkg/gui/controllers.go
parente0b05f44647a22bd37515c3dfe1fb97a117716bb (diff)
better wording again
Diffstat (limited to 'pkg/gui/controllers.go')
-rw-r--r--pkg/gui/controllers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers.go b/pkg/gui/controllers.go
index b0f100f2f..8e28e7f6e 100644
--- a/pkg/gui/controllers.go
+++ b/pkg/gui/controllers.go
@@ -131,7 +131,7 @@ func (gui *Gui) resetControllers() {
setSubCommits := func(commits []*models.Commit) { gui.State.Model.SubCommits = commits }
- for _, context := range []controllers.ContextWithRefName{
+ for _, context := range []controllers.CanSwitchToSubCommits{
gui.State.Contexts.Branches,
gui.State.Contexts.RemoteBranches,
gui.State.Contexts.Tags,