mirror of
https://github.com/restic/restic.git
synced 2026-11-21 13:02:42 +00:00
Merge pull request #22117 from Grivn/fix/legacy-null-tree
data: read empty trees from older repaired snapshots
This commit is contained in:
3 files changed
+66
-13
No files matched your search
@@ -0,0 +1,9 @@
|
||||
Bugfix: Read empty directories from older repaired snapshots
|
||||
|
||||
Since restic 0.19.0, snapshots containing empty directories written by older
|
||||
versions of `repair snapshots` could fail with `error decoding tree: expected
|
||||
[, got <nil>`. Restic now accepts these empty directory trees again, allowing
|
||||
`prune`, `check` and `restore` to process the affected snapshots.
|
||||
|
||||
https://github.com/restic/restic/issues/22092
|
||||
https://github.com/restic/restic/pull/22117
|
||||
Reference in new issue
Block a user