Only send UpdateBufferFile messages for buffers whose files have changed

Send that message when saving a buffer as a new path.
This commit is contained in:
Max Brunsfeld 2023-02-20 09:33:02 -08:00
parent cdf64b6cad
commit 56b7eb6b6f
4 changed files with 43 additions and 36 deletions

View file

@ -2482,7 +2482,6 @@ async fn test_buffer_is_dirty(cx: &mut gpui::TestAppContext) {
buffer.version(),
buffer.as_rope().fingerprint(),
buffer.file().unwrap().mtime(),
None,
cx,
);
});