diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-03-23 11:51:40 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-30 13:19:53 +1000 |
commit | 0c6ab4b43e96763088c1d19039a9c4eba81a25f1 (patch) | |
tree | 57027d427b207f95c0d5fb6378797bf935f93d5c /pkg/gui/controllers.go | |
parent | 1b2fb34ffdee3be0f914380875f9cd89f8d51588 (diff) |
refactor cherry pick code to move state access out of helper
Diffstat (limited to 'pkg/gui/controllers.go')
-rw-r--r-- | pkg/gui/controllers.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/gui/controllers.go b/pkg/gui/controllers.go index 21059c1a0..f64710a70 100644 --- a/pkg/gui/controllers.go +++ b/pkg/gui/controllers.go @@ -7,7 +7,6 @@ import ( "github.com/jesseduffield/lazygit/pkg/commands/models" "github.com/jesseduffield/lazygit/pkg/gui/controllers" "github.com/jesseduffield/lazygit/pkg/gui/controllers/helpers" - "github.com/jesseduffield/lazygit/pkg/gui/modes/cherrypicking" "github.com/jesseduffield/lazygit/pkg/gui/services/custom_commands" "github.com/jesseduffield/lazygit/pkg/gui/types" ) @@ -53,7 +52,6 @@ func (gui *Gui) resetControllers() { helperCommon, gui.git, gui.State.Contexts, - func() *cherrypicking.CherryPicking { return gui.State.Modes.CherryPicking }, rebaseHelper, ), Upstream: helpers.NewUpstreamHelper(helperCommon, model, suggestionsHelper.GetRemoteBranchesSuggestionsFunc), |