Skip to content

Commit 7ce8bb2

Browse files
kbadktechknowlogick
authored andcommitted
Fix regression: Gitea commits API again returns commit summaries, not full messages (go-gitea#12186)
Closes go-gitea#12185
1 parent 85be939 commit 7ce8bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/v1/repo/commits.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ func toCommit(ctx *context.APIContext, repo *models.Repository, commit *git.Comm
296296
},
297297
Date: commit.Committer.When.Format(time.RFC3339),
298298
},
299-
Message: commit.Summary(),
299+
Message: commit.Message(),
300300
Tree: &api.CommitMeta{
301301
URL: repo.APIURL() + "/git/trees/" + commit.ID.String(),
302302
SHA: commit.ID.String(),

0 commit comments

Comments
 (0)