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

Cleanup: remove unused log parameter of patch_exploring.NewState

This commit is contained in:
Stefan Haller
2024-10-16 14:25:38 +02:00
parent 2f1564d288
commit da47498066
3 changed files with 4 additions and 5 deletions

View File

@ -91,7 +91,7 @@ func (self *PatchBuildingHelper) RefreshPatchBuildingPanel(opts types.OnFocusOpt
oldState := context.GetState()
state := patch_exploring.NewState(diff, selectedLineIdx, oldState, self.c.Log)
state := patch_exploring.NewState(diff, selectedLineIdx, oldState)
context.SetState(state)
if state == nil {
self.Escape()