diff options
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r-- | routers/repo/commit.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go index 9e46c2e846..c3fc4d177a 100644 --- a/routers/repo/commit.go +++ b/routers/repo/commit.go @@ -168,12 +168,6 @@ func Diff(ctx *middleware.Context) { } } - for _, diffFile := range diff.Files { - for _, diffSection := range diffFile.Sections { - diffSection.ComputeLinesDiff() - } - } - ctx.Data["IsSplitStyle"] = ctx.Query("style") == "split" ctx.Data["Username"] = userName ctx.Data["Reponame"] = repoName |