Browse Source

Change summary to full message (#6591) (#6592)

Signed-off-by: jolheiser <john.olheiser@gmail.com>
tags/v1.8.0-rc3
John Olheiser 6 years ago committed by Lauris BH
parent
commit
a63b9fbc70
  1. 2
      routers/api/v1/repo/commits.go

2
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(),

Loading…
Cancel
Save