Automatically keep edits if they are included in a commit (#32093)
Release Notes: - Improved the review experience in the agent panel. Now, when you commit changes (generated by the AI agent) using Git, Zed will automatically dismiss the agent’s review UI for those changes. This means you won’t have to manually “keep” or approve changes twice—just commit, and you’re done.
This commit is contained in:
parent
8c1b549683
commit
4ac67ac5ae
11 changed files with 465 additions and 116 deletions
|
@ -1356,6 +1356,7 @@ async fn test_remote_git_diffs(cx: &mut TestAppContext, server_cx: &mut TestAppC
|
|||
fs.set_head_for_repo(
|
||||
Path::new("/code/project1/.git"),
|
||||
&[("src/lib.rs".into(), text_1.clone())],
|
||||
"deadbeef",
|
||||
);
|
||||
|
||||
let (project, _headless) = init_test(&fs, cx, server_cx).await;
|
||||
|
@ -1416,6 +1417,7 @@ async fn test_remote_git_diffs(cx: &mut TestAppContext, server_cx: &mut TestAppC
|
|||
fs.set_head_for_repo(
|
||||
Path::new("/code/project1/.git"),
|
||||
&[("src/lib.rs".into(), text_2.clone())],
|
||||
"deadbeef",
|
||||
);
|
||||
|
||||
cx.executor().run_until_parked();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue