jesseduffield.lazygit/pkg/gui/controllers
Jesse Duffield 4c5b1574f1 Centralise logic for obtaining repo paths
There are quite a few paths you might want to get e.g. the repo's path, the worktree's path,
the repo's git dir path, the worktree's git dir path. I want these all obtained once and
then used when needed rather than having to have IO whenever we need them. This is not so
much about reducing time spent on IO as it is about not having to care about errors every time
we want a path.
2023-07-30 18:35:24 +10:00
..
helpers Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +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 Use sentence case everywhere 2023-05-25 23:52:19 +10:00
bisect_controller.go When bisecting, always mark the current commit as good/bad, not the selected 2023-07-29 14:44:00 +02:00
branches_controller.go Remove IO logic from presentation code for worktrees 2023-07-30 18:35:24 +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 Use sentence case everywhere 2023-05-25 23:52:19 +10:00
commits_files_controller.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
common.go lots of changes 2023-04-30 13:19:53 +10:00
confirmation_controller.go Use sentence case everywhere 2023-05-25 23:52:19 +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 Show error when trying to open patch menu with an empty patch 2023-07-26 14:27:18 +02:00
diffing_menu_action.go fix: typo EnteRefName 2023-06-28 18:54:21 +06:00
files_controller.go Replace uses of "git stash save" with "git stash push" 2023-07-10 15:09:17 +02:00
files_remove_controller.go Refresh work trees when discarding file changes 2023-07-30 18:35:22 +10:00
filter_controller.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
filtering_menu_action.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
git_flow_controller.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
global_controller.go Use sentence case everywhere 2023-05-25 23:52:19 +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 Introduce filtered list view model 2023-07-03 12:54:13 +10:00
local_commits_controller.go Better tag creation UX 2023-07-22 14:36:35 +10:00
menu_controller.go Fix crash on empty menu 2023-07-20 21:05:52 +10:00
merge_conflicts_controller.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
options_menu_action.go Only apply right-alignment on first column of keybindings menu 2023-07-20 21:23:46 +10:00
patch_building_controller.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
patch_explorer_controller.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
quit_actions.go Update repo switch logic 2023-07-30 18:35:23 +10:00
reflog_commits_controller.go lots of changes 2023-04-30 13:19:53 +10:00
remote_branches_controller.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
remotes_controller.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
screen_mode_actions.go move more actions into controller 2023-04-30 13:19:53 +10:00
search_controller.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
search_prompt_controller.go Introduce filtered list view model 2023-07-03 12:54:13 +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 Rename "Delete change" menu entry to "Discard change" in staging panel 2023-06-26 08:19:58 +02:00
stash_controller.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
status_controller.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
sub_commits_controller.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
submodules_controller.go Allow entering a submodule by pressing space 2023-07-30 18:35:23 +10:00
suggestions_controller.go lots of changes 2023-04-30 13:19:53 +10:00
switch_to_diff_files_controller.go Use searching, not filtering, in file tree views 2023-07-03 12:54:14 +10:00
switch_to_sub_commits_controller.go Keep track of authors across local commits and branch commits for suggestions 2023-07-22 10:47:04 +10:00
sync_controller.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
tags_controller.go Better tag creation UX 2023-07-22 14:36:35 +10:00
toggle_whitespace_action.go Remove the toast when toggling "ignore whitespace" 2023-05-20 12:58:32 +10:00
types.go introduce Ref interface 2022-04-02 17:04:42 +11:00
undo_controller.go Replace uses of "git stash save" with "git stash push" 2023-07-10 15:09:17 +02:00
vertical_scroll_controller.go lots of changes 2023-04-30 13:19:53 +10:00
workspace_reset_controller.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
worktree_options_controller.go Support creating worktrees from refs 2023-07-30 18:35:22 +10:00
worktrees_controller.go Remove IO logic from presentation code for worktrees 2023-07-30 18:35:24 +10:00