1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-29 00:51:35 +02:00

start moving commit panel handlers into controller

more

and more

move rebase commit refreshing into existing abstraction

and more

and more

WIP

and more

handling clicks

properly fix merge conflicts

update cheatsheet

lots more preparation to start moving things into controllers

WIP

better typing

expand on remotes controller

moving more code into controllers
This commit is contained in:
Jesse Duffield
2022-01-16 14:46:53 +11:00
parent a90b6efded
commit 1dd7307fde
104 changed files with 4980 additions and 4111 deletions
docs/keybindings
pkg
cheatsheet
commands
gui
app_status_manager.goarrangement.gobasic_context.gobisect.gobranches_panel.gocherry_picking.gocommand_log_panel.gocommit_files_panel.gocommit_message_panel.gocommits_panel.goconfirmation_panel.gocontext.go
context
context_config.go
controllers
credentials_panel.gocustom_commands.godiff_context_size.godiff_context_size_test.godiffing.godiscard_changes_menu_panel.goeditors.goextras_panel.gofile_helper.gofile_watching.gofiles_panel.go
filetree
filtering.gofiltering_menu_panel.gogit_flow.goglobal_handlers.gogpg.gogui.gogui_common.goinformation_panel.gokeybindings.golayout.goline_by_line_panel.golist_context.golist_context_config.gomain_panels.gomenu_panel.gomerge_panel.gomisc.gomodes.gooptions_menu_panel.gopatch_building_panel.gopatch_options_panel.go
popup
pty.gopull_request_menu_panel.goquitting.gorebase_options_panel.gorecent_repos_panel.goref_helper.goreflog_panel.goremote_branches_panel.goremotes_panel.goreset_menu_panel.gosearching.gostaging_panel.gostash_panel.gostatus_panel.go
style
sub_commits_panel.gosubmodules_panel.gosuggestions_helper.gotags_panel.gotasks_adapter.go
types
updates.goview_helpers.gowhitespace-toggle.goworking_tree_helper.goworkspace_reset_options_panel.go
i18n
test/integration/commit/expected/.git_keep

@ -2,6 +2,7 @@ package filetree
import (
"github.com/jesseduffield/lazygit/pkg/commands/models"
"github.com/jesseduffield/lazygit/pkg/gui/types"
)
type CommitFileNode struct {
@ -12,8 +13,7 @@ type CommitFileNode struct {
}
var _ INode = &CommitFileNode{}
// methods satisfying ListItem interface
var _ types.ListItem = &CommitFileNode{}
func (s *CommitFileNode) ID() string {
return s.GetPath()