project: Remove clones from git blame serialization (#34727)

Release Notes:

- N/A
This commit is contained in:
tidely 2025-07-18 20:41:12 +03:00 committed by GitHub
parent 5b18ce79ab
commit 87555d3f0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4397,17 +4397,17 @@ fn serialize_blame_buffer_response(blame: Option<git::blame::Blame>) -> proto::B
start_line: entry.range.start,
end_line: entry.range.end,
original_line_number: entry.original_line_number,
author: entry.author.clone(),
author_mail: entry.author_mail.clone(),
author: entry.author,
author_mail: entry.author_mail,
author_time: entry.author_time,
author_tz: entry.author_tz.clone(),
committer: entry.committer_name.clone(),
committer_mail: entry.committer_email.clone(),
author_tz: entry.author_tz,
committer: entry.committer_name,
committer_mail: entry.committer_email,
committer_time: entry.committer_time,
committer_tz: entry.committer_tz.clone(),
summary: entry.summary.clone(),
previous: entry.previous.clone(),
filename: entry.filename.clone(),
committer_tz: entry.committer_tz,
summary: entry.summary,
previous: entry.previous,
filename: entry.filename,
})
.collect::<Vec<_>>();