Don't show deleted hunks when agent overwrites file (#29918)
Release Notes: - Improved display of diffs when the agent rewrites a file from scratch.
This commit is contained in:
parent
4a7b3aa4b8
commit
5674b5cd4d
8 changed files with 43 additions and 40 deletions
|
@ -31,7 +31,7 @@ pub async fn file_outline(
|
|||
};
|
||||
|
||||
action_log.update(cx, |action_log, cx| {
|
||||
action_log.track_buffer(buffer.clone(), cx);
|
||||
action_log.buffer_read(buffer.clone(), cx);
|
||||
})?;
|
||||
|
||||
// Wait until the buffer has been fully parsed, so that we can read its outline.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue