]> source.dussan.org Git - gitea.git/commit
Enforce setting HEAD in wiki to master (#13950)
authorzeripath <art27@cantab.net>
Sat, 12 Dec 2020 11:20:14 +0000 (11:20 +0000)
committerGitHub <noreply@github.com>
Sat, 12 Dec 2020 11:20:14 +0000 (12:20 +0100)
commitf9c0737a861050182aa1445146da003f1d8ec0ae
tree7502d8c352ee2849e7ad76965bebd0da32133460
parent1837e647eb2ae3f4de0ed1a729f0da01c07b9449
Enforce setting HEAD in wiki to master (#13950)

The default branch in wikis must be master - therefore forcibly set the HEAD
to master.

Fix #13846

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: 6543 <6543@obermui.de>
services/wiki/wiki.go