Fix not returning after server error

This commit is contained in:
Lucas Schwiderski 2025-03-21 14:52:42 +01:00
parent af3d4e7c14
commit 8d20861460
No known key found for this signature in database
GPG key ID: AA12679AAA6DF4D8

View file

@ -958,6 +958,7 @@ func viewPullFiles(ctx *context.Context, specifiedStartCommit, specifiedEndCommi
if curCommit == nil {
ctx.ServerError("Repo.GitRepo.viewPullFiles", git.ErrNotExist{ID: commitID})
return
}
ctx.Data["Commit"] = curCommit