1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-14 11:23:09 +02:00
lazygit/pkg/gui
Jesse Duffield 91909331b5 Fix flakey worktree tests
In the presentation layer, when showing branches, we'll show worktrees against branches if they're
associated. But there was a race condition: if the worktree model was refreshed after the branches model,
it wouldn't be used in the presentation layer when it came time to render the branches.

A better solution would be to have some way of signalling that a particular context needs to be refreshed
and after all the models are done being refreshed, we then refresh the contexts. This will prevent
double-renders
2023-07-30 18:35:36 +10:00
..
context Fix bug where worktree view would take over window upon switching branches 2023-07-30 18:35:24 +10:00
controllers Fix flakey worktree tests 2023-07-30 18:35:36 +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 Use fields rather than methods on 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_config.go move some methods 2023-04-30 13:19:53 +10:00
context.go Land in the same panel when switching to a worktree 2023-07-30 18:35:22 +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_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
gui.go Use fields rather than methods on worktrees 2023-07-30 18:35:24 +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_windows.go
pty.go Make sure scrollbars have the right size initially 2023-03-21 18:26:18 +01:00
recent_repos_panel.go Use forward-slashes on windows 2023-07-30 18:35:24 +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