]> source.dussan.org Git - gitea.git/commit
Restore creation of git-daemon-export-ok files (#16508) (#16514)
authorzeripath <art27@cantab.net>
Thu, 22 Jul 2021 13:52:02 +0000 (14:52 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Jul 2021 13:52:02 +0000 (15:52 +0200)
commit057205a4b7c3aab8c75525e92678123f84ca88b1
tree2c00f43bef7428a69303c86e3554f17cb8402eaf
parent1b6c0c6bdc180b10969ba561be949b9a8110cf1a
Restore creation of git-daemon-export-ok files (#16508) (#16514)

Backport #16508

Somewhere along the line the creation of git-daemon-export-ok
files disappeared but the updating of these files when
repo visibility changes remained. The problem is that the
current state will create files even when the org or user
is private.

This PR restores creation correctly.

Fix #15521

Signed-off-by: Andrew Thornton <art27@cantab.net>
models/repo.go
modules/doctor/misc.go