1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

more refactoring

This commit is contained in:
Jesse Duffield
2022-02-05 14:42:56 +11:00
parent 8e3484d8e9
commit 482bdc4f1e
30 changed files with 372 additions and 227 deletions

View File

@ -11,6 +11,8 @@ import (
)
type BisectController struct {
baseController
c *types.ControllerCommon
context types.IListContext
git *commands.GitCommand
@ -32,10 +34,11 @@ func NewBisectController(
getCommits func() []*models.Commit,
) *BisectController {
return &BisectController{
c: c,
context: context,
git: git,
bisectHelper: bisectHelper,
baseController: baseController{},
c: c,
context: context,
git: git,
bisectHelper: bisectHelper,
getSelectedLocalCommit: getSelectedLocalCommit,
getCommits: getCommits,