1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg/integration/tests/worktree
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
..
add_from_branch_detached.go Add more worktree tests 2023-07-30 18:35:23 +10:00
add_from_branch.go Fix bug where worktree view would take over window upon switching branches 2023-07-30 18:35:24 +10:00
add_from_commit.go Add more worktree tests 2023-07-30 18:35:23 +10:00
associate_branch_bisect.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
associate_branch_rebase.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
bare_repo.go Centralise logic for obtaining repo paths 2023-07-30 18:35:24 +10:00
crud.go Add worktree integration tests 2023-07-30 18:35:23 +10:00
custom_command.go Add more worktree tests 2023-07-30 18:35:23 +10:00
detach_worktree_from_branch.go Fix flakey worktree tests 2023-07-30 18:35:36 +10:00
fast_forward_worktree_branch.go Support fastforwarding worktree 2023-07-30 18:35:23 +10:00
force_remove_worktree.go Add worktree tests for removing/detaching 2023-07-30 18:35:23 +10:00
remove_worktree_from_branch.go Fix flakey worktree tests 2023-07-30 18:35:36 +10:00
reset_window_tabs.go Update repo switch logic 2023-07-30 18:35:23 +10:00
worktree_in_repo.go Add worktree integration tests 2023-07-30 18:35:23 +10:00