diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-02-26 15:28:50 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-03-17 19:13:40 +1100 |
commit | 4805db7d976af59efe97e1e3cc13ad0fc581c9c0 (patch) | |
tree | d967bda7c503a06792963fe51d6dd534e841bbf2 /pkg | |
parent | 3e26f39deed48dbe133e076ab7ab7fffded52cf4 (diff) |
use correct context
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/gui/controllers/sub_commits_controller.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/controllers/sub_commits_controller.go b/pkg/gui/controllers/sub_commits_controller.go index 55b0795c1..36d8b2315 100644 --- a/pkg/gui/controllers/sub_commits_controller.go +++ b/pkg/gui/controllers/sub_commits_controller.go @@ -75,8 +75,8 @@ func (self *SubCommitsController) Context() types.Context { return self.context() } -func (self *SubCommitsController) context() *context.ReflogCommitsContext { - return self.contexts.ReflogCommits +func (self *SubCommitsController) context() *context.SubCommitsContext { + return self.contexts.SubCommits } func (self *SubCommitsController) checkout(commit *models.Commit) error { |