From 7f5c6ab471f35d20e58853ef913e61990e5fa78e Mon Sep 17 00:00:00 2001 From: Cole Miller Date: Fri, 13 Mar 2026 11:08:22 -0400 Subject: [PATCH] wip --- crates/project/src/git_store.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/crates/project/src/git_store.rs b/crates/project/src/git_store.rs index e9330014c3f066705ac3ea1e54f5e498c5d22348..bf380c41bf1d667af6b6a51ea6ade11d37191e86 100644 --- a/crates/project/src/git_store.rs +++ b/crates/project/src/git_store.rs @@ -821,11 +821,13 @@ impl GitStore { ) }) .await?; - let unstaged_diff = this - .update(cx, |this, cx| this.open_unstaged_diff(buffer.clone(), cx))? + let uncommitted_diff = this + .update(cx, |this, cx| { + this.open_uncommitted_diff(buffer.clone(), cx) + })? .await?; buffer_diff.update(cx, |buffer_diff, _| { - buffer_diff.set_secondary_diff(unstaged_diff); + buffer_diff.set_secondary_diff(uncommitted_diff); }); this.update(cx, |this, cx| {