diff options
author | John Olheiser <42128690+jolheiser@users.noreply.github.com> | 2019-04-12 11:11:09 -0500 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-04-12 17:11:09 +0100 |
commit | cb64b21a7fe555e41319582eac366714fdccf20f (patch) | |
tree | f8242a70cecce8e8f6907814de005a3f25f6c119 | |
parent | 783cd649276c472aa3af97dd311eb4766ff3adfb (diff) | |
download | gitea-cb64b21a7fe555e41319582eac366714fdccf20f.tar.gz gitea-cb64b21a7fe555e41319582eac366714fdccf20f.zip |
Change summary to full message (#6591)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
-rw-r--r-- | routers/api/v1/repo/commits.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/commits.go b/routers/api/v1/repo/commits.go index 75eff488db..d29f188535 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(), |