Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
project: Remove clones from git blame serialization (#34727)
tidely87555d3f0bb4
diff --git a/crates/project/src/git_store.rs b/crates/project/src/git_store.rsindex 5f07bafe5bd..6e3d27deffd 100644--- a/crates/project/src/git_store.rs+++ b/crates/project/src/git_store.rs@@ -4397,17 +4397,17 @@ fn serialize_blame_buffer_response(blame: Option<git::blame::Blame>) -> proto::Bstart_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<_>>();