gitea/services
zeripath a17edf446f
Fix 500 on first wiki page () ()
Backport 

There is a mistake in  and  which means that the first time
a wiki page is created a 500 is reported because the `master` branch is
not in existence in that wiki yet.

This PR simply checks for this error and returns not found.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-08-03 23:46:08 +01:00
..
archiver Rework repository archive () 2021-06-23 17:12:38 -04:00
auth Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
comments Enhance Ghost comment mitigation Settings () 2021-01-21 21:56:19 -05:00
externalaccount Allow externalID to be UUID () 2019-10-17 10:06:28 +08:00
forms Add option to provide signature for a token to verify key ownership () 2021-07-13 15:28:07 +02:00
gitdiff Detect encoding changes while parsing diff () 2021-07-13 03:13:52 +02:00
issue Fix various documentation, user-facing, and source comment typos () 2021-07-08 13:38:13 +02:00
lfs Switch to maintained jwt lib () () 2021-07-24 11:13:50 -04:00
mailer Use TrN helper for email templates () 2021-07-14 15:06:09 +02:00
mirror Add push to remote mirror repository () 2021-06-14 19:20:43 +02:00
pull Add checkbox to delete pull branch after successful merge () 2021-07-13 01:26:25 +02:00
release Add tag protection () 2021-06-25 16:28:55 +02:00
repository Implemented head_commit for webhooks () 2021-06-29 15:34:03 +02:00
webhook Refactor Webhook + Add X-Hub-Signature () 2021-06-27 20:21:09 +01:00
wiki Fix 500 on first wiki page () () 2021-08-03 23:46:08 +01:00