jesseduffield.lazygit/pkg/gui/controllers
Jesse Duffield a57310df24 Retain commit message when cycling history
When cycling history, we want to make it so that upon returning to the original prompt, you get your text back.
Importantly, we don't want to use the existing preservedMessage field for that because that's only for preserving
a NEW commit message, and we don't want the history stuff of the commit reword flow to overwrite that.
2023-04-30 13:19:54 +10:00
..
helpers Retain commit message when cycling history 2023-04-30 13:19:54 +10:00
attach.go Begin refactoring gui 2023-04-30 13:19:52 +10:00
base_controller.go Begin refactoring gui 2023-04-30 13:19:52 +10:00
basic_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
bisect_controller.go lots of changes 2023-04-30 13:19:53 +10:00
branches_controller.go lots of changes 2023-04-30 13:19:53 +10:00
command_log_controller.go lots of changes 2023-04-30 13:19:53 +10:00
commit_description_controller.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
commit_message_controller.go Retain commit message when cycling history 2023-04-30 13:19:54 +10:00
commits_files_controller.go fix rendering of commit files view 2023-04-30 13:19:53 +10:00
common.go lots of changes 2023-04-30 13:19:53 +10:00
confirmation_controller.go lots of changes 2023-04-30 13:19:53 +10:00
context_lines_controller.go lots of changes 2023-04-30 13:19:53 +10:00
custom_command_action.go move custom command action into its own file 2023-04-30 13:19:53 +10:00
custom_patch_options_menu_action.go move custom patch options menu action to controllers package 2023-04-30 13:19:53 +10:00
diffing_menu_action.go move diffing menu action to controller 2023-04-30 13:19:53 +10:00
files_controller.go Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
files_remove_controller.go lots of changes 2023-04-30 13:19:53 +10:00
filtering_menu_action.go move filtering menu action to controller 2023-04-30 13:19:53 +10:00
git_flow_controller.go lots of changes 2023-04-30 13:19:53 +10:00
global_controller.go move toggle whitespace action to controllers package 2023-04-30 13:19:53 +10:00
jump_to_side_window_controller.go move side window actions to controllers package 2023-04-30 13:19:53 +10:00
list_controller.go lots of changes 2023-04-30 13:19:53 +10:00
local_commits_controller.go Retain commit message when cycling history 2023-04-30 13:19:54 +10:00
menu_controller.go lots of changes 2023-04-30 13:19:53 +10:00
merge_conflicts_controller.go lots of changes 2023-04-30 13:19:53 +10:00
options_menu_action.go move another action into controller 2023-04-30 13:19:53 +10:00
patch_building_controller.go lots of changes 2023-04-30 13:19:53 +10:00
patch_explorer_controller.go lots of changes 2023-04-30 13:19:53 +10:00
quit_actions.go move quit actions to controller 2023-04-30 13:19:53 +10:00
reflog_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
remote_branches_controller.go lots of changes 2023-04-30 13:19:53 +10:00
remotes_controller.go lots of changes 2023-04-30 13:19:53 +10:00
screen_mode_actions.go move more actions into controller 2023-04-30 13:19:53 +10:00
side_window_controller.go move side window actions to controllers package 2023-04-30 13:19:53 +10:00
snake_controller.go lots of changes 2023-04-30 13:19:53 +10:00
staging_controller.go lots of changes 2023-04-30 13:19:53 +10:00
stash_controller.go lots of changes 2023-04-30 13:19:53 +10:00
status_controller.go lots of changes 2023-04-30 13:19:53 +10:00
sub_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
submodules_controller.go lots of changes 2023-04-30 13:19:53 +10:00
suggestions_controller.go lots of changes 2023-04-30 13:19:53 +10:00
switch_to_diff_files_controller.go lots of changes 2023-04-30 13:19:53 +10:00
switch_to_sub_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
sync_controller.go lots of changes 2023-04-30 13:19:53 +10:00
tags_controller.go lots of changes 2023-04-30 13:19:53 +10:00
toggle_whitespace_action.go move toggle whitespace action to controllers package 2023-04-30 13:19:53 +10:00
types.go introduce Ref interface 2022-04-02 17:04:42 +11:00
undo_controller.go lots of changes 2023-04-30 13:19:53 +10:00
vertical_scroll_controller.go lots of changes 2023-04-30 13:19:53 +10:00
workspace_reset_controller.go lots of changes 2023-04-30 13:19:53 +10:00