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-04-02 01:16:00 +02:00
2021-03-07 08:12:43 +00:00
2020-10-14 21:07:51 +08:00
2021-01-28 19:08:11 +01:00
2021-02-10 21:28:32 +00:00
2020-08-23 14:15:29 +01:00
2021-03-07 08:12:43 +00:00
2021-03-26 04:20:52 +01:00
2021-01-26 22:02:42 +01:00
2021-03-19 21:01:24 +02:00
2021-03-16 00:20:05 +01:00
2021-03-01 22:08:10 +01:00
2021-03-16 02:00:52 +01:00
2021-04-01 19:57:05 -04:00
2020-12-18 11:33:32 +08:00
2021-03-31 20:49:46 +01:00
2020-10-02 23:37:53 -04:00
2020-11-13 16:13:41 -05:00
2021-01-14 23:17:03 +02:00
2021-03-01 22:08:10 +01:00
2021-04-02 01:16:00 +02:00
2021-03-06 20:21:56 +00:00
2021-03-01 22:08:10 +01:00
2021-03-26 22:48:38 -04:00
2020-11-28 19:37:58 -05:00
2021-03-23 10:10:32 +00:00
2021-02-10 21:28:32 +00:00
2021-03-21 14:51:31 +00:00
2020-12-22 07:40:57 +08:00
2020-09-08 17:06:39 -05:00
2021-03-01 22:08:10 +01:00
2021-02-03 22:36:38 +01:00
2021-03-31 04:56:19 +02:00
2021-03-01 22:08:10 +01:00
2021-03-01 22:08:10 +01:00
2020-12-21 16:39:28 +01:00
2021-03-21 17:07:37 +01:00
2021-02-09 22:29:03 +00:00
2020-10-05 01:49:33 -04:00
2021-03-01 22:08:10 +01:00
2021-03-16 00:27:28 +02:00
2021-03-08 03:43:59 +01:00
2021-03-05 14:19:17 +01:00
2021-03-03 22:41:23 -05:00
2021-03-01 22:08:10 +01:00
2021-03-11 23:43:04 -05:00
2021-01-30 10:55:53 +02:00
2021-01-28 13:29:22 +01:00
2021-02-05 22:41:45 +01:00
2020-10-11 21:27:20 +01:00
2020-12-27 11:34:19 +08:00
2021-02-03 20:06:13 +01:00
2021-01-26 16:36:53 +01:00
2021-03-07 08:12:43 +00:00