Change summary to full message (#6591)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
John Olheiser 2019-04-12 11:11:09 -05:00 committed by zeripath
parent 783cd64927
commit cb64b21a7f

View file

@ -109,7 +109,7 @@ func GetSingleCommit(ctx *context.APIContext) {
}, },
Date: commit.Committer.When.Format(time.RFC3339), Date: commit.Committer.When.Format(time.RFC3339),
}, },
Message: commit.Summary(), Message: commit.Message(),
Tree: &api.CommitMeta{ Tree: &api.CommitMeta{
URL: ctx.Repo.Repository.APIURL() + "/trees/" + commit.ID.String(), URL: ctx.Repo.Repository.APIURL() + "/trees/" + commit.ID.String(),
SHA: commit.ID.String(), SHA: commit.ID.String(),