Skip to content

Commit c20e095

Browse files
authored
Merge branch 'main' into previos-blame-link
2 parents 93704b3 + 59c5855 commit c20e095

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/convert/git_commit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ func ToCommit(repo *models.Repository, commit *git.Commit, userCache map[string]
155155
URL: repo.APIURL() + "/git/commits/" + commit.ID.String(),
156156
Author: &api.CommitUser{
157157
Identity: api.Identity{
158-
Name: commit.Committer.Name,
159-
Email: commit.Committer.Email,
158+
Name: commit.Author.Name,
159+
Email: commit.Author.Email,
160160
},
161161
Date: commit.Author.When.Format(time.RFC3339),
162162
},

0 commit comments

Comments
 (0)