]> source.dussan.org Git - gitea.git/commit
Only write config in environment-to-ini if there are changes (#15861)
authorzeripath <art27@cantab.net>
Thu, 13 May 2021 23:01:05 +0000 (00:01 +0100)
committerGitHub <noreply@github.com>
Thu, 13 May 2021 23:01:05 +0000 (01:01 +0200)
commitbbbe625343c8dbe216c4ba6f46b336ca0f7f2e47
tree93ca3dd8c0e111b34d95e7b7e181ca1e16dd501b
parentd234d37aa8377f22882c630036824f7a25e1c2a4
Only write config in environment-to-ini if there are changes (#15861)

* Only write config in environment-to-ini if there are changes

Only write the new config in environment-to-ini if there are changes or the
destination is not the same as the customconf.

Fix #15719
Fix #15857

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
contrib/environment-to-ini/environment-to-ini.go