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