Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

git_ui: Prepare review action with owned base ref directly (#58156)

Xiaobo Liu0d31b26050a3
diff --git a/crates/git_ui/src/project_diff.rs b/crates/git_ui/src/project_diff.rs
index 1129b8f5f59..89bb54d0a5e 100644
--- a/crates/git_ui/src/project_diff.rs
+++ b/crates/git_ui/src/project_diff.rs
@@ -312,7 +312,7 @@ impl ProjectDiff {
window.dispatch_action(
ReviewBranchDiff {
diff_text: diff_text.into(),
- base_ref: base_ref.to_string().into(),
+ base_ref,
}
.boxed_clone(),
cx,