jesseduffield.lazygit/pkg/gui
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
..
context Remove IO logic from presentation code for worktrees 2023-07-30 18:35:24 +10:00
controllers Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
filetree Support filtering files 2023-07-03 12:54:13 +10:00
keybindings Use same labels for keys that we use in the config 2023-05-21 10:59:16 +10:00
mergeconflicts migrate patch building tests 2023-02-25 21:37:16 +11:00
modes refactor cherry pick code to move state access out of helper 2023-04-30 13:19:53 +10:00
patch_exploring refactor patch code 2023-03-19 16:30:39 +11:00
popup Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
presentation Remove IO logic from presentation code for worktrees 2023-07-30 18:35:24 +10:00
services/custom_commands Add more worktree tests 2023-07-30 18:35:23 +10:00
status lots of changes 2023-04-30 13:19:53 +10:00
style Stop hiding underscores for VSCode 2023-06-01 20:12:20 +10:00
types Land in the same panel when switching to a worktree 2023-07-30 18:35:22 +10:00
background.go Ensure background refreshes don't bunch up 2023-07-10 17:30:44 +10:00
command_log_panel.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
context.go Land in the same panel when switching to a worktree 2023-07-30 18:35:22 +10:00
context_config.go move some methods 2023-04-30 13:19:53 +10:00
controllers.go Remove worktree version guards 2023-07-30 18:35:23 +10:00
dummies.go feat: add GitVersion struct 2022-12-30 20:01:14 +09:00
editors.go Could not type special characters on non-english keyboards 2023-07-23 14:33:50 +02:00
extras_panel.go Appease linter 2023-06-03 15:54:03 +10:00
file_watching.go Add busy count for integration tests 2023-07-08 22:54:52 +10:00
global_handlers.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
gui.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
gui_common.go Land in the same panel when switching to a worktree 2023-07-30 18:35:22 +10:00
gui_driver.go Add busy count for integration tests 2023-07-08 22:54:52 +10:00
information_panel.go lots of changes 2023-04-30 13:19:53 +10:00
keybindings.go Introduce filtered list view model 2023-07-03 12:54:13 +10:00
layout.go Update repo switch logic 2023-07-30 18:35:23 +10:00
main_panels.go Visualize the "ignore whitespace" state in the subtitle of the diff view 2023-05-20 12:58:32 +10:00
menu_panel.go Only apply right-alignment on first column of keybindings menu 2023-07-20 21:23:46 +10:00
options_map.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
pty.go Make sure scrollbars have the right size initially 2023-03-21 18:26:18 +01:00
pty_windows.go Format code to pass lint 2021-09-16 21:38:43 +08:00
recent_repos_panel.go Begin refactoring gui 2023-04-30 13:19:52 +10:00
tasks_adapter.go Use an interface for tasks instead of a concrete struct 2023-07-10 17:12:21 +10:00
test_mode.go Add busy count for integration tests 2023-07-08 22:54:52 +10:00
view_helpers.go Log duration of post-refresh-update call 2023-07-29 09:39:22 +10:00
views.go Initial addition of support for worktrees 2023-07-30 18:35:21 +10:00