summaryrefslogtreecommitdiffstats
path: root/routers/repo/view.go
diff options
context:
space:
mode:
authorAndrey Nering <andrey.nering@gmail.com>2016-11-05 13:58:53 -0200
committerAndrey Nering <andrey.nering@gmail.com>2016-11-05 15:44:14 -0200
commitbd898a10f888005be990ebea2e6a845d09ef55f3 (patch)
tree784e84c939367a64b5bd5a7322a801dd83108642 /routers/repo/view.go
parent91b589f2f0fb93f9f9882426c43c363276d2235a (diff)
downloadgitea-bd898a10f888005be990ebea2e6a845d09ef55f3.tar.gz
gitea-bd898a10f888005be990ebea2e6a845d09ef55f3.zip
Refactor editorconfig middleware
Diffstat (limited to 'routers/repo/view.go')
-rw-r--r--routers/repo/view.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/routers/repo/view.go b/routers/repo/view.go
index ee49d4da15..e8b8d1e002 100644
--- a/routers/repo/view.go
+++ b/routers/repo/view.go
@@ -245,11 +245,6 @@ func Home(ctx *context.Context) {
return
}
- setEditorconfigIfExists(ctx)
- if ctx.Written() {
- return
- }
-
var treeNames []string
paths := make([]string, 0, 5)
if len(ctx.Repo.TreePath) > 0 {