From 8a8f84d245ed7b5cd007b43747098663019654c7 Mon Sep 17 00:00:00 2001 From: Chris Lee Date: Sun, 27 Apr 2014 06:46:03 +0000 Subject: Use commit summaries instead of full messages --- routers/repo/commit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/repo/commit.go') 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 -- cgit v1.2.3