]> source.dussan.org Git - gitea.git/commit
Only write config in environment-to-ini if there are changes (#15861) (#15868)
authorzeripath <art27@cantab.net>
Sat, 15 May 2021 12:07:16 +0000 (13:07 +0100)
committerGitHub <noreply@github.com>
Sat, 15 May 2021 12:07:16 +0000 (13:07 +0100)
commitfa96ddb327946eafcf39ab38cbe61bceb91aa649
treeb0b146195eea4d8200a25849f744c6ed48155fb6
parenta3e8450fd54d374ef1a033a8522709660e1d6000
Only write config in environment-to-ini if there are changes (#15861) (#15868)

Backport #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>
Co-authored-by: 6543 <6543@obermui.de>
contrib/environment-to-ini/environment-to-ini.go