mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-13 21:12:13 +01: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:
parent
b9c62f2412
commit
7e6d45fd72
@ -759,7 +759,6 @@ func CompareDiff(ctx *context.Context) {
|
|||||||
err := git.GetRepoRawDiffForFile(ci.HeadGitRepo, ci.BaseBranch, ci.HeadBranch, ci.RawDiffType, "", ctx.Resp)
|
err := git.GetRepoRawDiffForFile(ci.HeadGitRepo, ci.BaseBranch, ci.HeadBranch, ci.RawDiffType, "", ctx.Resp)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.ServerError("GetRepoRawDiffForFile", err)
|
ctx.ServerError("GetRepoRawDiffForFile", err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user