Files
gitea/routers
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 <[email protected]>

* Update routers/repo/commit.go

Co-authored-by: silverwind <[email protected]>

* use ctx.NotFound()

Co-authored-by: zeripath <[email protected]>
Co-authored-by: silverwind <[email protected]>

Co-authored-by: zeripath <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: 6543 <[email protected]>
2021-04-01 19:57:05 -04:00
..
2021-01-26 16:36:53 +01:00