mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 12:02:56 +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:
1 parent
b9c62f2412
commit
7e6d45fd72
1 file changed
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user