mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-01-10 15:42:16 +01:00
Fix formatting
This commit is contained in:
parent
9195d6a318
commit
4a7ec0f9a8
1 changed files with 2 additions and 2 deletions
|
@ -722,7 +722,7 @@ func CompareDiff(ctx *context.Context) {
|
|||
}
|
||||
|
||||
if ctx.Data["ComparingDiff"].(bool) {
|
||||
err := git.GetRepoRawDiffForFile(ci.HeadGitRepo, ci.BaseBranch, ci.HeadBranch,git.RawDiffNormal,"", ctx.Resp)
|
||||
err := git.GetRepoRawDiffForFile(ci.HeadGitRepo, ci.BaseBranch, ci.HeadBranch,git.RawDiffNormal, "", ctx.Resp)
|
||||
if err != nil {
|
||||
ctx.ServerError("ComparingDiff", err)
|
||||
return
|
||||
|
@ -730,7 +730,7 @@ func CompareDiff(ctx *context.Context) {
|
|||
}
|
||||
|
||||
if ctx.Data["ComparingPatch"].(bool) {
|
||||
err := git.GetRepoRawDiffForFile(ci.HeadGitRepo, ci.BaseBranch, ci.HeadBranch,git.RawDiffPatch,"", ctx.Resp)
|
||||
err := git.GetRepoRawDiffForFile(ci.HeadGitRepo, ci.BaseBranch, ci.HeadBranch,git.RawDiffPatch, "", ctx.Resp)
|
||||
if err != nil {
|
||||
ctx.ServerError("ComparingPatch", err)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue