diff --git a/changelog/new.txt b/changelog/new.txt index 54633a4..fdebaec 100644 --- a/changelog/new.txt +++ b/changelog/new.txt @@ -4,6 +4,7 @@ Breaking changes: Bugs fixed: - restore: Warm-up options given by the command line didn't work. This has been fixed. +- backup showed 1 dir as changed when backing up without parent. This has been fixed. New features: - backup: Backing up (small) files is now much more parallelized. diff --git a/src/archiver/tree_archiver.rs b/src/archiver/tree_archiver.rs index a21b584..ba0c440 100644 --- a/src/archiver/tree_archiver.rs +++ b/src/archiver/tree_archiver.rs @@ -129,7 +129,7 @@ impl TreeArchiver { pub fn finalize(mut self, parent_tree: Option) -> Result<(Id, SnapshotSummary)> { let parent = match parent_tree { - None => ParentResult::NotMatched, + None => ParentResult::NotFound, Some(id) => ParentResult::Matched(id), }; let id = self.backup_tree(&PathBuf::new(), parent)?;