mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
a82134f41c
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 |
||
---|---|---|
.. | ||
app | ||
cheatsheet | ||
commands | ||
common | ||
config | ||
constants | ||
env | ||
fakes | ||
gui | ||
i18n | ||
integration | ||
logs | ||
secureexec | ||
snake | ||
tasks | ||
theme | ||
updates | ||
utils |