Make GitRepository::status async and remove cx parameter (#27514)

This lays the groundwork for using `status` as part of the new agent
panel.

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra
2025-03-27 09:05:54 +00:00
committed by GitHub
parent 926d10cc45
commit 7354ef91e1
19 changed files with 662 additions and 716 deletions
+1 -1
View File
@@ -1429,7 +1429,7 @@ impl Thread {
// Get diff asynchronously
let diff = repo
.diff(git::repository::DiffType::HeadToWorktree, cx.clone())
.diff(git::repository::DiffType::HeadToWorktree)
.await
.ok();