summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-28 21:53:40 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-28 21:53:40 -0400
commit2401e68d7ed7d53425293ad32d231542d03bbef3 (patch)
treec57bd73e14c98e42857eadb29a2151cd2562c64a /routers
parent31805e2bbea17d5fc3806f472ddab42736e7b4a1 (diff)
downloadgitea-2401e68d7ed7d53425293ad32d231542d03bbef3.tar.gz
gitea-2401e68d7ed7d53425293ad32d231542d03bbef3.zip
Prepare for v0.3.1 hotfix
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/commit.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index d73669923b..bc33fe4473 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -97,6 +97,7 @@ func Diff(ctx *middleware.Context, params martini.Params) {
parents[i] = sha.String()
if err != nil {
ctx.Handle(404, "repo.Diff", err)
+ return
}
}