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)

Closes #12185
  • Loading branch information
kbadk authored Jul 8, 2020
1 parent dbd5e4b commit cedbd36
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 @@ -298,7 +298,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 cedbd36

Please sign in to comment.