1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-21 23:24:29 +00:00
wxiaoguang df5cf5ddbd
Avoid polluting config file when "save" (#25395)
That's a longstanding INI package problem: the "MustXxx" calls change
the option values, and the following "Save" will save a lot of garbage
options into the user's config file.

Ideally we should refactor the INI package to a clear solution, but it's
a huge work.

A clear workaround is what this PR does: when "Save", load a clear INI
instance and save it.

Partially fix #25377, the "install" page needs more fine tunes.
2023-06-21 10:31:40 +08:00
..
2023-04-17 11:37:23 +08:00
2023-05-21 22:35:11 +00:00
2023-01-05 13:58:51 +02:00
2023-05-21 22:35:11 +00:00
2023-02-18 21:17:39 +02:00
2023-02-11 08:39:50 +08:00
2022-12-30 23:31:00 +08:00
2023-05-21 22:35:11 +00:00
2023-05-21 22:35:11 +00:00