]> source.dussan.org Git - gitea.git/commit
Restore creation of git-daemon-export-ok files (#16508)
authorzeripath <art27@cantab.net>
Thu, 22 Jul 2021 11:53:54 +0000 (12:53 +0100)
committerGitHub <noreply@github.com>
Thu, 22 Jul 2021 11:53:54 +0000 (12:53 +0100)
commit1ce4fb256f43bb82c3b78a1cd7de87cc32690dc1
tree9e994f7268b73d998f47ee2dc38626662c48c54b
parent9f02d1c3c00aef53cad7acdc51d861656edfbffd
Restore creation of git-daemon-export-ok files (#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