mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-11-18 03:49:50 -06:00
If saving state.yml fails while lazygit adds the current repo to the recent repos list, lazygit stops loading the repo. At startup it exits. A user on Windows got "The requested operation cannot be performed on a file with a user-mapped section open" when lazygit opened state.yml for writing, so lazygit exited on every launch (#4489). Confirming the intro popup also shows a failed save as an error. Nothing in state.yml is important enough for this. Log the error instead, like the other places that save state.yml already do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>