Skip to content

Commit

Permalink
Fix regression: Gitea commits API again returns commit summaries, not…
Browse files Browse the repository at this point in the history
… full messages (#12186) (#12187)

Closes #12185

Co-authored-by: Kristian Antonsen <[email protected]>
  • Loading branch information
techknowlogick and kbadk authored Jul 8, 2020
1 parent 85be939 commit c3c246c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routers/api/v1/repo/commits.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func toCommit(ctx *context.APIContext, repo *models.Repository, commit *git.Comm
},
Date: commit.Committer.When.Format(time.RFC3339),
},
Message: commit.Summary(),
Message: commit.Message(),
Tree: &api.CommitMeta{
URL: repo.APIURL() + "/git/trees/" + commit.ID.String(),
SHA: commit.ID.String(),
Expand Down

0 comments on commit c3c246c

Please sign in to comment.