diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-16 20:38:22 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-07-30 18:35:22 +1000 |
commit | 2e68967e02954a6f4d556fe637db57f7fb5aeec6 (patch) | |
tree | efc53a18c426fe00720cba1337abb4afe4a7bdd6 /pkg/gui/controllers.go | |
parent | 71422a85499fdb336d37a60f0c56f236b891e2cd (diff) |
Show base ref suggestions when creating worktree
Diffstat (limited to 'pkg/gui/controllers.go')
-rw-r--r-- | pkg/gui/controllers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/controllers.go b/pkg/gui/controllers.go index 61ab8f738..9d76349c7 100644 --- a/pkg/gui/controllers.go +++ b/pkg/gui/controllers.go @@ -21,10 +21,10 @@ func (gui *Gui) resetHelpersAndControllers() { recordDirectoryHelper := helpers.NewRecordDirectoryHelper(helperCommon) reposHelper := helpers.NewRecentReposHelper(helperCommon, recordDirectoryHelper, gui.onNewRepo) refsHelper := helpers.NewRefsHelper(helperCommon) - worktreeHelper := helpers.NewWorktreeHelper(helperCommon, reposHelper, refsHelper) + suggestionsHelper := helpers.NewSuggestionsHelper(helperCommon) + worktreeHelper := helpers.NewWorktreeHelper(helperCommon, reposHelper, refsHelper, suggestionsHelper) rebaseHelper := helpers.NewMergeAndRebaseHelper(helperCommon, refsHelper) - suggestionsHelper := helpers.NewSuggestionsHelper(helperCommon) setCommitSummary := gui.getCommitMessageSetTextareaTextFn(func() *gocui.View { return gui.Views.CommitMessage }) setCommitDescription := gui.getCommitMessageSetTextareaTextFn(func() *gocui.View { return gui.Views.CommitDescription }) |