Show commit author, not committer (#27856)

Release Notes:

- Fixed a bug where the git panel displayed a commit's committer in
place of its author.
This commit is contained in:
Max Brunsfeld 2025-04-01 09:55:56 -07:00 committed by GitHub
parent 76871056f5
commit ada8b0f822
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 13 deletions

View file

@ -1881,8 +1881,8 @@ impl GitStore {
sha: commit.sha.into(),
message: commit.message.into(),
commit_timestamp: commit.commit_timestamp,
committer_email: commit.committer_email.into(),
committer_name: commit.committer_name.into(),
author_email: commit.author_email.into(),
author_name: commit.author_name.into(),
})
}
@ -2888,8 +2888,8 @@ impl Repository {
sha: resp.sha.into(),
message: resp.message.into(),
commit_timestamp: resp.commit_timestamp,
committer_email: resp.committer_email.into(),
committer_name: resp.committer_name.into(),
author_email: resp.author_email.into(),
author_name: resp.author_name.into(),
})
}
}