summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/repo
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-04-12 11:11:09 -0500
committerzeripath <art27@cantab.net>2019-04-12 17:11:09 +0100
commitcb64b21a7fe555e41319582eac366714fdccf20f (patch)
treef8242a70cecce8e8f6907814de005a3f25f6c119 /routers/api/v1/repo
parent783cd649276c472aa3af97dd311eb4766ff3adfb (diff)
downloadgitea-cb64b21a7fe555e41319582eac366714fdccf20f.tar.gz
gitea-cb64b21a7fe555e41319582eac366714fdccf20f.zip
Change summary to full message (#6591)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Diffstat (limited to 'routers/api/v1/repo')
-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 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(),