summaryrefslogtreecommitdiffstats
path: root/routers/repo/commit.go
diff options
context:
space:
mode:
authorChris Lee <clee@mg8.org>2014-04-27 06:46:03 +0000
committerChris Lee <clee@mg8.org>2014-04-27 06:46:03 +0000
commit8a8f84d245ed7b5cd007b43747098663019654c7 (patch)
tree9724eee72fc27c0aaba33a5614dd683d72d828a1 /routers/repo/commit.go
parent1b734501bdbec3a0ff04458944683eae0990d9ae (diff)
downloadgitea-8a8f84d245ed7b5cd007b43747098663019654c7.tar.gz
gitea-8a8f84d245ed7b5cd007b43747098663019654c7.zip
Use commit summaries instead of full messages
Diffstat (limited to 'routers/repo/commit.go')
-rw-r--r--routers/repo/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/commit.go b/routers/repo/commit.go
index 6e20a7b7f4..9ecc697d27 100644
--- a/routers/repo/commit.go
+++ b/routers/repo/commit.go
@@ -92,7 +92,7 @@ func Diff(ctx *middleware.Context, params martini.Params) {
}
ctx.Data["IsImageFile"] = isImageFile
- ctx.Data["Title"] = commit.Message() + " · " + base.ShortSha(commitId)
+ ctx.Data["Title"] = commit.Summary() + " · " + base.ShortSha(commitId)
ctx.Data["Commit"] = commit
ctx.Data["Diff"] = diff
ctx.Data["DiffNotAvailable"] = diff.NumFiles() == 0