mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
backup: fix dir stats
This commit is contained in:
parent
88410511b1
commit
797126277c
@ -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:
|
||||
- prune: Added option --repack-all
|
||||
|
||||
@ -129,7 +129,7 @@ impl<BE: DecryptWriteBackend, I: IndexedBackend> TreeArchiver<BE, I> {
|
||||
|
||||
pub fn finalize(mut self, parent_tree: Option<Id>) -> 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)?;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user