mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-21 20:27:39 +02:00
Update routers/web/repo/compare.go
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Signed-off-by: badhezi <zlilaharon@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user