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: Clear pending ops for remote repos (#43098)

Jakub Konka08692bb108a5
diff --git a/crates/project/src/git_store.rs b/crates/project/src/git_store.rs
index f111ef17a0d..40ef0daa293 100644
--- a/crates/project/src/git_store.rs
+++ b/crates/project/src/git_store.rs
@@ -4999,6 +4999,7 @@ impl Repository {
if update.is_last_update {
self.snapshot.scan_id = update.scan_id;
}
+ self.clear_pending_ops(cx);
Ok(())
}