diff --git a/routers/web/repo/compare.go b/routers/web/repo/compare.go index 8f3430f185..16a6be1605 100644 --- a/routers/web/repo/compare.go +++ b/routers/web/repo/compare.go @@ -759,7 +759,6 @@ func CompareDiff(ctx *context.Context) { err := git.GetRepoRawDiffForFile(ci.HeadGitRepo, ci.BaseBranch, ci.HeadBranch, ci.RawDiffType, "", ctx.Resp) if err != nil { ctx.ServerError("GetRepoRawDiffForFile", err) - return } return }