From 97009296eaaca8e8f8b5e309fd529d3b77325ed4 Mon Sep 17 00:00:00 2001 From: "zed-zippy[bot]" <234243425+zed-zippy[bot]@users.noreply.github.com> Date: Wed, 19 Nov 2025 21:59:20 +0000 Subject: [PATCH] git: Clear pending ops for remote repos (#43098) (cherry-pick to preview) (#43100) Cherry-pick of #43098 to preview ---- Release Notes: - N/A Co-authored-by: Jakub Konka --- crates/project/src/git_store.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/project/src/git_store.rs b/crates/project/src/git_store.rs index f111ef17a0d17f0288ab739c4d02f51148b431f6..40ef0daa29390e229ab03eb840c39900163d4b6a 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(()) }