mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-04-14 02:51:35 +02:00
Fix not returning after server error
This commit is contained in:
parent
af3d4e7c14
commit
8d20861460
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue