mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
1310649331
We had an issue where a repo was using LFS to store a file, but the user did not push the file. When trying to view the file, Gitea returned a 500 HTTP status code referencing `ErrLFSObjectNotExist`. It appears the intent was the render this file as plain text, but the conditional was flipped. I've also added a test to verify that the file is rendered as plain text. |
||
---|---|---|
.. | ||
actions | ||
setting | ||
activity.go | ||
attachment.go | ||
blame.go | ||
branch.go | ||
cherry_pick.go | ||
code_frequency.go | ||
commit.go | ||
compare.go | ||
contributors.go | ||
download.go | ||
editor_test.go | ||
editor.go | ||
find.go | ||
fork.go | ||
githttp_test.go | ||
githttp.go | ||
helper_test.go | ||
helper.go | ||
issue_content_history.go | ||
issue_dependency.go | ||
issue_label_test.go | ||
issue_label.go | ||
issue_lock.go | ||
issue_pin.go | ||
issue_stopwatch.go | ||
issue_test.go | ||
issue_timetrack.go | ||
issue_watch.go | ||
issue.go | ||
main_test.go | ||
middlewares.go | ||
migrate.go | ||
milestone.go | ||
packages.go | ||
patch.go | ||
projects_test.go | ||
projects.go | ||
pull_review_test.go | ||
pull_review.go | ||
pull.go | ||
recent_commits.go | ||
release_test.go | ||
release.go | ||
render.go | ||
repo.go | ||
search_test.go | ||
search.go | ||
topic.go | ||
treelist.go | ||
view_test.go | ||
view.go | ||
wiki_test.go | ||
wiki.go |