mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
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 |
||
|---|---|---|
| .. | ||
| add_from_branch.go | ||
| add_from_branch_detached.go | ||
| add_from_commit.go | ||
| associate_branch_bisect.go | ||
| associate_branch_rebase.go | ||
| bare_repo.go | ||
| crud.go | ||
| custom_command.go | ||
| detach_worktree_from_branch.go | ||
| fast_forward_worktree_branch.go | ||
| force_remove_worktree.go | ||
| remove_worktree_from_branch.go | ||
| reset_window_tabs.go | ||
| worktree_in_repo.go | ||