jesseduffield.lazygit/pkg/gui/controllers
Stefan Haller c53c5e47ef Store commit.Action as an enum instead of a string
The main reason for doing this (besides the reasons given for Status in the
previous commit) is that it allows us to easily convert from TodoCommand to
Action and back. This will be needed later in the branch. Fortunately,
TodoCommand is one-based, so this allows us to add an ActionNone constant with
the value 0.
2023-04-15 08:36:03 +02:00
..
helpers Remove line number support for "open" command 2023-04-13 13:14:00 +02:00
attach.go fix click handling 2022-03-17 19:13:40 +11:00
base_controller.go fix click handling 2022-03-17 19:13:40 +11:00
basic_commits_controller.go rename displayString to label for menu items 2022-05-08 14:26:18 +10:00
bisect_controller.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
branches_controller.go feat: support to create tag on branch 2023-02-19 23:31:46 +09:00
commit_message_controller.go Remove alternative confirmation and return keymappings 2023-03-09 10:32:00 +01:00
commits_files_controller.go rename patch manager to patch builder 2023-03-19 16:35:57 +11:00
common.go add optimistic rendering for staging and unstaging files 2022-07-31 14:34:57 +10:00
context_lines_controller.go rename patch manager to patch builder 2023-03-19 16:35:57 +11:00
files_controller.go Extract amendHead function into new AmendHelper 2023-04-01 08:16:15 +02:00
files_remove_controller.go mention path in tooltips 2023-02-20 19:28:45 +11:00
git_flow_controller.go rename displayString to label for menu items 2022-05-08 14:26:18 +10:00
global_controller.go Don't add custom command to history if it starts with space 2023-04-13 21:20:46 +10:00
list_controller.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
local_commits_controller.go Store commit.Action as an enum instead of a string 2023-04-15 08:36:03 +02:00
menu_controller.go Remove alternative confirmation and return keymappings 2023-03-09 10:32:00 +01:00
merge_conflicts_controller.go Remove line number support for "open" command 2023-04-13 13:14:00 +02:00
patch_building_controller.go Remove line number support for "open" command 2023-04-13 13:14:00 +02:00
patch_explorer_controller.go refactor to only have one context per view 2022-08-06 13:49:11 +10:00
remote_branches_controller.go Remove alternative confirmation and return keymappings 2023-03-09 10:32:00 +01:00
remotes_controller.go pkg/gui: Rename IPopupHandler::Ask() to Confirm() 2022-03-30 20:13:43 +11:00
snake_controller.go Remove alternative confirmation and return keymappings 2023-03-09 10:32:00 +01:00
staging_controller.go Remove line number support for "open" command 2023-04-13 13:14:00 +02:00
stash_controller.go chore: refactor rename stash 2022-10-16 09:30:04 +09:00
submodules_controller.go integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
switch_to_diff_files_controller.go introduce Ref interface 2022-04-02 17:04:42 +11:00
switch_to_sub_commits_controller.go feat(subcommits): load unlimited sub-commits 2023-02-27 15:29:00 +09:00
sync_controller.go rename key to Pull 2023-02-19 11:42:00 +11:00
tags_controller.go pkg/gui: Rename IPopupHandler::Ask() to Confirm() 2022-03-30 20:13:43 +11:00
types.go introduce Ref interface 2022-04-02 17:04:42 +11:00
undo_controller.go migrate undo test 2023-02-19 15:48:09 +11:00
vertical_scroll_controller.go fix(#2309): fix diff scroll 2022-12-20 22:25:49 +09:00
workspace_reset_controller.go Make discarding items less error prone 2023-02-20 19:28:45 +11:00