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:
parent
84dd2366bc
commit
93c0056065
2 changed files with 9 additions and 13 deletions
|
@ -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(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue