]> source.dussan.org Git - gitea.git/commit
When comparing with an non-exist repository, return 404 but 500 (#27437) (#27442)
authorGiteabot <teabot@gitea.io>
Wed, 4 Oct 2023 14:41:57 +0000 (22:41 +0800)
committerGitHub <noreply@github.com>
Wed, 4 Oct 2023 14:41:57 +0000 (14:41 +0000)
commita9d547f55b5e929e902e4d3d72d13d1f62f57741
treecead4d75ad36ed926ee6db502a3d1e1ebd331943
parent51001d9ffed27b871acb1b1c27f4090b3dbb026d
When comparing with an non-exist repository, return 404 but 500 (#27437) (#27442)

Backport #27437 by @lunny

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
routers/web/repo/compare.go