gitea/routers
a1012112796 007fb00c0e
response 404 for diff/patch of a commit that not exist (#15221)
* response 404 for diff/patch of a commit that not exist

fix #15217

Signed-off-by: a1012112796 <1012112796@qq.com>

* Update routers/repo/commit.go

Co-authored-by: silverwind <me@silverwind.io>

* use ctx.NotFound()

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
2021-04-01 08:17:14 +03:00
..
admin
api/v1 Improve /api/v1/repos/issues/search by just getting repo ids (#15179) 2021-03-29 18:12:21 +01:00
dev
events
org
private
repo response 404 for diff/patch of a commit that not exist (#15221) 2021-04-01 08:17:14 +03:00
routes
user
utils
home.go
init.go
install.go use level config in main section when subsection not set level (#15176) 2021-03-28 20:08:19 +01:00
metrics.go
swagger_json.go