summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-04-12 12:47:29 -0500
committerLauris BH <lauris@nix.lv>2019-04-12 20:47:29 +0300
commita63b9fbc70bdd1d25d75dbbd1e56e1d70215743a (patch)
tree46396ec93ffd3ba0b9bcbb04b8b149d56854f329
parent4b87aa367c87e56de36ab12b3340b450c55cb9f6 (diff)
downloadgitea-a63b9fbc70bdd1d25d75dbbd1e56e1d70215743a.tar.gz
gitea-a63b9fbc70bdd1d25d75dbbd1e56e1d70215743a.zip
Change summary to full message (#6591) (#6592)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
-rw-r--r--routers/api/v1/repo/commits.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/commits.go b/routers/api/v1/repo/commits.go
index a4cf5037d7..1e745f215c 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(),