summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/reflog_controller.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-02-22 20:13:11 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commitecaff7fc6cc3d2e510a88e336abcb74567de3f12 (patch)
tree4c896b81f194659708062a9fa5979f54e7a2ed3e /pkg/gui/controllers/reflog_controller.go
parent85f23198971de56195a4a1790d70e9d3b4ea1908 (diff)
add commit files controller
Diffstat (limited to 'pkg/gui/controllers/reflog_controller.go')
-rw-r--r--pkg/gui/controllers/reflog_controller.go8
1 files changed, 2 insertions, 6 deletions
diff --git a/pkg/gui/controllers/reflog_controller.go b/pkg/gui/controllers/reflog_controller.go
index 43413a6ac..4085df635 100644
--- a/pkg/gui/controllers/reflog_controller.go
+++ b/pkg/gui/controllers/reflog_controller.go
@@ -9,20 +9,16 @@ import (
type ReflogController struct {
baseController
*controllerCommon
-
- switchToCommitFilesContext SwitchToCommitFilesContextFn
}
var _ types.IController = &ReflogController{}
func NewReflogController(
common *controllerCommon,
- switchToCommitFilesContext SwitchToCommitFilesContextFn,
) *ReflogController {
return &ReflogController{
- baseController: baseController{},
- controllerCommon: common,
- switchToCommitFilesContext: switchToCommitFilesContext,
+ baseController: baseController{},
+ controllerCommon: common,
}
}