jesseduffield.lazygit/pkg
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
..
app Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
cheatsheet Initial addition of support for worktrees 2023-07-30 18:35:21 +10:00
commands rename files 2023-07-30 18:35:36 +10:00
common Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00
config Support opening worktree in editor 2023-07-30 18:35:23 +10:00
constants update release notes 2021-04-20 18:34:47 +10:00
env Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Fix flakey worktree tests 2023-07-30 18:35:36 +10:00
i18n Add more i18n for worktrees 2023-07-30 18:35:24 +10:00
integration Fix flakey worktree tests 2023-07-30 18:35:36 +10:00
logs Allow global logging when developing 2023-05-25 18:31:32 +10:00
secureexec Cache binary paths 2023-05-23 19:15:33 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Fix crash caused by simultaneous read/write of scanner buffer 2023-07-23 13:17:37 +10:00
theme Color view frame differently when searching/filtering 2023-07-03 12:54:14 +10:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Write unit tests with the help of afero 2023-07-30 18:35:36 +10:00