a1012112796
c6eb9b30ae
response 404 for diff/patch of a commit that not exist (#15221) (#15237)
* 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-01 19:57:05 -04:00
..
2021-03-01 22:08:10 +01:00
2021-04-01 01:15:08 +02:00
2019-08-15 22:46:21 +08:00
2021-03-21 10:21:28 +00:00
2021-03-01 16:33:05 +02:00
2021-03-01 22:08:10 +01:00
2021-04-01 19:57:05 -04:00
2021-03-23 18:44:37 +00:00
2021-03-17 04:54:02 +01:00
2021-02-19 22:36:43 +01:00
2021-03-11 13:40:54 +00:00
2021-01-27 04:57:18 +01:00
2021-03-07 08:12:43 +00:00
2020-11-17 15:50:06 -05:00
2021-01-26 16:36:53 +01:00