Show More
@@ -637,6 +637,11 b' pub(super) fn write(' | |||
|
637 | 637 | can_append: bool, |
|
638 | 638 | ) -> Result<(Vec<u8>, TreeMetadata, bool, usize), DirstateError> { |
|
639 | 639 | let append = can_append && dirstate_map.write_should_append(); |
|
640 | if append { | |
|
641 | log::trace!("appending to the dirstate data file"); | |
|
642 | } else { | |
|
643 | log::trace!("creating new dirstate data file"); | |
|
644 | } | |
|
640 | 645 | |
|
641 | 646 | // This ignores the space for paths, and for nodes without an entry. |
|
642 | 647 | // TODO: better estimate? Skip the `Vec` and write to a file directly? |
General Comments 0
You need to be logged in to leave comments.
Login now