Files
lazygit/pkg
Stefan HallerandClaude Opus 5.5 ad50d2fb2a Log errors from saving state.yml instead of returning them
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>
2026-11-15 08:10:58 +01:00
..
2025-11-15 10:46:23 +01:00