diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-22 22:34:49 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-22 22:34:49 -0400 |
commit | 8bc502a1ead4d59e1940946c74ff48c8e6457633 (patch) | |
tree | 343cc2c624680aa0e5d487f6fd66e9daa0314c69 /routers/repo/repo.go | |
parent | 88072a1e9b43d1760e6f9015c09d4221646080ca (diff) | |
download | gitea-8bc502a1ead4d59e1940946c74ff48c8e6457633.tar.gz gitea-8bc502a1ead4d59e1940946c74ff48c8e6457633.zip |
New err check style
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 1 |
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 |