Track just the local dirty state

This commit is contained in:
Piotr Osiewicz 2024-03-05 18:15:43 +01:00
parent e4c2d86a80
commit c2025f1327
5 changed files with 49 additions and 17 deletions

View file

@ -1171,7 +1171,6 @@ impl LocalWorktree {
buffer_id,
version: serialize_version(&version),
mtime: Some(mtime.into()),
saved_undo_top,
})?;
}
@ -2958,7 +2957,6 @@ impl language::LocalFile for File {
mtime: Some(mtime.into()),
line_ending: serialize_line_ending(line_ending) as i32,
saved_undo_top: saved_undo_top.map(serialize_transaction),
})
.log_err();
}