jesseduffield.lazygit/pkg
Stefan Haller 830c48f768 Avoid rendering branches view twice when refreshing
refreshWorktrees re-renders the branches view, because the branches view shows
worktrees against branches. This means that when both BRANCHES and WORKTREES are
requested to be refreshed, the branches view would be rendered twice in short
succession. This causes an ugly visual glitch when force-pushing a branch,
because when pushing is done, we would see the ↑4↓9 status come back from under
the Pushing status for a brief moment, to be replaced with a green checkmark a
moment later.

Fix this by including the worktree refresh in the branches refresh when both are
requested. This means that the two are no longer running in parallel for an
async refresh, but hopefully that's not so bad.
2023-09-26 17:25:45 +02:00
..
app Add AppState to common.Common 2023-09-04 17:48:39 +02:00
cheatsheet Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
commands Remove sync mutex 2023-09-25 22:03:50 +02:00
common Add AppState to common.Common 2023-09-04 17:48:39 +02:00
config Change the default of the "gui.borders" config to "rounded" 2023-09-09 10:42:24 +02:00
constants update release notes 2021-04-20 18:34:47 +10:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Avoid rendering branches view twice when refreshing 2023-09-26 17:25:45 +02:00
i18n Disallow pulling/pushing a branch while the branch is pushed or pulled 2023-09-25 22:03:50 +02:00
integration Print race detector logs after running a test with -race 2023-09-25 09:09:41 +02:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks Remove secureexec package 2023-07-30 19:59:51 +10:00
theme Add a "Mark commit as base commit for rebase" command 2023-07-31 08:41:41 +02:00
updates Construct arg vector manually rather than parse string 2023-05-23 19:49:19 +10:00
utils Add constant for LoaderAnimationInterval 2023-09-20 13:30:49 +02:00