0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-03-01 09:53:25 +01:00
a1012112796 007fb00c0e
response 404 for diff/patch of a commit that not exist ()
* response 404 for diff/patch of a commit that not exist

fix 

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
..