mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Backport #28719 by wxiaoguang In #26851, it assumed that `Commit` always exists when `PageIsDiff==true`. But for a 404 page, the `Commit` doesn't exist, so the following code would cause panic because nil value can't be passed as string parameter to `IsMultilineCommitMessage(string)` (or the StringUtils.Cut in later PRs) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
1 year ago | |
---|---|---|
.. | ||
alert.tmpl | 2 years ago | |
alert_details.tmpl | 4 years ago | |
disable_form_autofill.tmpl | 3 years ago | |
footer.tmpl | 2 years ago | |
footer_content.tmpl | 1 year ago | |
head.tmpl | 1 year ago | |
head_navbar.tmpl | 1 year ago | |
head_opengraph.tmpl | 1 year ago | |
head_script.tmpl | 1 year ago | |
head_style.tmpl | 2 years ago | |
modal_actions_confirm.tmpl | 1 year ago | |
paginate.tmpl | 1 year ago |