project: Remove clones from git blame serialization (#34727)
Release Notes: - N/A
This commit is contained in:
parent
5b18ce79ab
commit
87555d3f0b
1 changed files with 9 additions and 9 deletions
|
@ -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<_>>();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue