Files
Gitea/modules/git/diff.go
T
007fb00c0e response 404 for diff/patch of a commit that not exist (#15221)
* 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]>
2021-04-01 08:17:14 +03:00

8.1 KiB