From 16a7e68d00360058cd80e9265ceec32c9b688c42 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Fri, 12 Apr 2019 10:20:17 -0500 Subject: [PATCH] Change summary to full message 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 75eff488db932..d29f188535c29 100644 --- a/routers/api/v1/repo/commits.go +++ b/routers/api/v1/repo/commits.go @@ -109,7 +109,7 @@ func GetSingleCommit(ctx *context.APIContext) { }, 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(),