mirror of
https://github.com/restic/restic.git
synced 2026-10-07 03:07:11 +00:00
rewrite: Always set the Original field in a rewritten snapshot
The Original field is meant to remember the original snapshot id if e.g. changing its tags. It was only set by the `rewrite` command if it was not set previously. However, a rewritten snapshot is potentially rather different from the original snapshot. Thus just always set the Original field. This also makes it easier to later on detect and potentially remove the original snapshots.
This commit is contained in:
1 parent
049a105ba5
commit
38b2e9b42c
2 files changed
+3
-4
No files matched your search
@@ -5,3 +5,4 @@ unwanted files.
|
||||
|
||||
https://github.com/restic/restic/issues/14
|
||||
https://github.com/restic/restic/pull/2731
|
||||
https://github.com/restic/restic/pull/4079
|
||||
Reference in new issue
Block a user