git: Display author not committer in git popover (#27628)

Display Author name/email instead of Committer name/email in git
popover.

Closes https://github.com/zed-industries/zed/issues/27625

Prior to v0.173.x, Zed displayed Author name. Regression introduced in:
- https://github.com/zed-industries/zed/pull/24593

Release Notes:

- git: Switch to displaying Git author instead of Git committer in Git
Blame popover.
This commit is contained in:
Peter Tripp 2025-03-27 21:35:27 +00:00 committed by GitHub
parent 84dd2366bc
commit 93c0056065
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 13 deletions

View file

@ -3951,8 +3951,8 @@ impl GitPanelMessageTooltip {
let commit_details = editor::commit_tooltip::CommitDetails {
sha: details.sha.clone(),
committer_name: details.committer_name.clone(),
committer_email: details.committer_email.clone(),
author_name: details.committer_name.clone(),
author_email: details.committer_email.clone(),
commit_time: OffsetDateTime::from_unix_timestamp(details.commit_timestamp)?,
message: Some(editor::commit_tooltip::ParsedCommitMessage {
message: details.message.clone(),