gitea/routers
a1012112796 0d7afb02c0
response 404 for diff/patch of a commit that not exist (#15221) (#15238)
* 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>

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: 6543 <6543@obermui.de>
2021-04-02 04:30:14 +01:00
..
admin Ensure that search term and page are not lost on adoption page-turn (#14133) (#14143) 2020-12-24 21:54:15 +00:00
api/v1 API: fix set milestone on PR creation (#14981) (#15001) 2021-03-15 11:01:04 -04:00
dev Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
events Add EventSource support (#11235) 2020-05-07 22:49:00 +01:00
org Set opengraph attributes on org pages (#12803) 2020-09-11 07:41:43 +01:00
private Fix a bug when check if owner is active (#13613) 2020-11-18 11:59:24 +02:00
repo response 404 for diff/patch of a commit that not exist (#15221) (#15238) 2021-04-02 04:30:14 +01:00
routes Fix bug on avatar middleware (#15125) 2021-03-23 18:45:06 +00:00
user Set HCaptchaSiteKey on Link Account pages (#14834) (#14839) 2021-03-01 16:12:48 +01:00
utils Return the full rejection message and errors in flash errors (#13221) (#13237) 2020-10-21 14:54:19 -04:00
home.go Simplify CheckUnitUser logic (#12854) 2020-09-15 19:49:34 -04:00
init.go Print usefull error if SQLite is used in settings but not supported (#14476) (#14874) 2021-03-03 21:54:32 +00:00
install.go Update golangci-lint to version 1.31.0 (#13102) 2020-10-11 21:27:20 +01:00
metrics.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
swagger_json.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00