summaryrefslogtreecommitdiffstats
path: root/routers/repo/repo.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-22 22:34:49 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-22 22:34:49 -0400
commit8bc502a1ead4d59e1940946c74ff48c8e6457633 (patch)
tree343cc2c624680aa0e5d487f6fd66e9daa0314c69 /routers/repo/repo.go
parent88072a1e9b43d1760e6f9015c09d4221646080ca (diff)
downloadgitea-8bc502a1ead4d59e1940946c74ff48c8e6457633.tar.gz
gitea-8bc502a1ead4d59e1940946c74ff48c8e6457633.zip
New err check style
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r--routers/repo/repo.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
index f733378b3f..76964dff13 100644
--- a/routers/repo/repo.go
+++ b/routers/repo/repo.go
@@ -134,7 +134,6 @@ func Single(ctx *middleware.Context, params martini.Params) {
}
entry, err := ctx.Repo.Commit.GetTreeEntryByPath(treename)
-
if err != nil && err != git.ErrNotExist {
ctx.Handle(404, "repo.Single(GetTreeEntryByPath)", err)
return