From 0d02f155df7cadba2c1d2e9aced47d85d6b98f87 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Fri, 12 Apr 2019 11:11:09 -0500 Subject: [PATCH] Change summary to full message (#6591) Signed-off-by: jolheiser --- routers/api/v1/repo/commits.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/api/v1/repo/commits.go b/routers/api/v1/repo/commits.go index a4cf5037d7ec1..1e745f215ce6b 100644 --- a/routers/api/v1/repo/commits.go +++ b/routers/api/v1/repo/commits.go @@ -106,7 +106,7 @@ func GetSingleCommit(ctx *context.APIContext) { Email: commit.Committer.Email, Date: commit.Committer.When.Format(time.RFC3339), }, - Message: commit.Summary(), + Message: commit.Message(), Tree: &api.CommitMeta{ URL: ctx.Repo.Repository.APIURL() + "/trees/" + commit.ID.String(), SHA: commit.ID.String(),