Fix staging/unstaging hunks remotely (#28560)
Fixes a regression introduced in https://github.com/zed-industries/zed/pull/28377 where the pending hunks didn't get cleared properly when staging/unstaging hunks remotely. I didn't add new tests, because the fix was to simplify some code. Release Notes: - N/A
This commit is contained in:
parent
ad39d3226f
commit
353ae2335b
2 changed files with 29 additions and 49 deletions
|
@ -6967,7 +6967,7 @@ async fn test_staging_hunks_with_delayed_fs_event(cx: &mut gpui::TestAppContext)
|
|||
});
|
||||
}
|
||||
|
||||
#[gpui::test]
|
||||
#[gpui::test(iterations = 25)]
|
||||
async fn test_staging_random_hunks(
|
||||
mut rng: StdRng,
|
||||
executor: BackgroundExecutor,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue