1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/pkg
Jesse Duffield a82134f41c Fix race condition
Our refresh code may try to push a context. It does this in two places:
1) when all merge conflicts are resolved, we push a 'continue merge?' confirmation context
2) when all conflicts of a given file are resolved and we're in the merge conflicts context,
   we push the files context.

Sometimes we push the confirmation context and then push the files context over it, so the user
never sees the confirmation context.

This commit fixes the race condition by adding a check to ensure that we're still in the
merge conflicts panel before we try escaping from it
2023-05-16 21:01:38 +10:00
..
app merge master into refactor-better-encapsulation 2023-05-02 19:05:42 +10:00
cheatsheet Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
commands Make "merged" take precedence over "unpushed" 2023-05-12 22:56:58 +02:00
common introduce Common struct for passing around common stuff 2022-01-04 09:07:15 +11:00
config add comment to encourage keeping code and docs in sync 2023-05-04 16:53:13 +10:00
constants update release notes 2021-04-20 18:34:47 +10:00
env clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
fakes cleanup integration test code 2023-02-26 12:54:13 +11:00
gui Fix race condition 2023-05-16 21:01:38 +10:00
i18n Split commit message panel into commit summary and commit description panel 2023-04-30 13:19:53 +10:00
integration Extend one of the filtering tests to start on a commit other than the first 2023-05-11 13:23:58 +02:00
logs clearer separation of concerns when bootstrapping application 2022-05-07 16:02:04 +10:00
secureexec Format code to pass lint 2021-09-16 21:38:43 +08:00
snake integrate snake game into lazygit 2022-12-30 12:18:59 +11:00
tasks prevent unnecessary re-renders of view 2023-04-02 15:44:05 +10:00
theme Fix setting gui.selectedRangeBgColor as a hex value 2023-03-03 08:46:43 +01:00
updates Begin refactoring gui 2023-04-30 13:19:52 +10:00
utils add ability to update yaml path while preserving comments 2023-05-10 22:31:27 +10:00