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.

Fix broken merge (#25776)

Cole Miller482a45feacdd
diff --git a/crates/git_ui/src/project_diff.rs b/crates/git_ui/src/project_diff.rs
index db7510d8679..e4c0e25671a 100644
--- a/crates/git_ui/src/project_diff.rs
+++ b/crates/git_ui/src/project_diff.rs
@@ -1076,7 +1076,7 @@ mod tests {
cx.run_until_parked();
let editor = cx.update_window_entity(&diff, |diff, window, cx| {
- diff.scroll_to_path(
+ diff.move_to_path(
PathKey::namespaced(TRACKED_NAMESPACE, Path::new("foo").into()),
window,
cx,
@@ -1097,7 +1097,7 @@ mod tests {
);
let editor = cx.update_window_entity(&diff, |diff, window, cx| {
- diff.scroll_to_path(
+ diff.move_to_path(
PathKey::namespaced(TRACKED_NAMESPACE, Path::new("bar").into()),
window,
cx,