mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
more refactoring
This commit is contained in:
@ -19,6 +19,8 @@ import (
|
||||
// two user actions, meaning we end up undoing reflog entry C. Redoing works in a similar way.
|
||||
|
||||
type UndoController struct {
|
||||
baseController
|
||||
|
||||
c *types.ControllerCommon
|
||||
git *commands.GitCommand
|
||||
|
||||
@ -39,6 +41,7 @@ func NewUndoController(
|
||||
getFilteredReflogCommits func() []*models.Commit,
|
||||
) *UndoController {
|
||||
return &UndoController{
|
||||
baseController: baseController{},
|
||||
c: c,
|
||||
git: git,
|
||||
refsHelper: refsHelper,
|
||||
|
Reference in New Issue
Block a user