summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/switch_to_sub_commits_controller.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-03-23 18:47:29 +1100
committerJesse Duffield <jessedduffield@gmail.com>2023-04-30 13:19:53 +1000
commitdb12853bbe825d69686ea71161497d1bbb120b8e (patch)
treeebfb066dfef8eb75acdc1ea2bd5f15ff4f4a6507 /pkg/gui/controllers/switch_to_sub_commits_controller.go
parent711674f6cd68ed3a35e5b0329ff0cf3289fbc7d1 (diff)
lots of changes
Diffstat (limited to 'pkg/gui/controllers/switch_to_sub_commits_controller.go')
-rw-r--r--pkg/gui/controllers/switch_to_sub_commits_controller.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/gui/controllers/switch_to_sub_commits_controller.go b/pkg/gui/controllers/switch_to_sub_commits_controller.go
index 28966c68f..c66151190 100644
--- a/pkg/gui/controllers/switch_to_sub_commits_controller.go
+++ b/pkg/gui/controllers/switch_to_sub_commits_controller.go
@@ -15,22 +15,22 @@ type CanSwitchToSubCommits interface {
type SwitchToSubCommitsController struct {
baseController
- *controllerCommon
+ c *ControllerCommon
context CanSwitchToSubCommits
setSubCommits func([]*models.Commit)
}
func NewSwitchToSubCommitsController(
- controllerCommon *controllerCommon,
+ controllerCommon *ControllerCommon,
setSubCommits func([]*models.Commit),
context CanSwitchToSubCommits,
) *SwitchToSubCommitsController {
return &SwitchToSubCommitsController{
- baseController: baseController{},
- controllerCommon: controllerCommon,
- context: context,
- setSubCommits: setSubCommits,
+ baseController: baseController{},
+ c: controllerCommon,
+ context: context,
+ setSubCommits: setSubCommits,
}
}