Allow --tag and --keep-tag to match untagged snapshots

This commit is contained in:
David le Blanc authored and Leo R. Lundgren committed 2021-08-02 23:06:20 +02:00
1 parent 5571c3f7fd
commit 326fefcd80
5 files changed
+43 -6

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
Enhancement: Support filtering and specifying untagged snapshots
It was previously not possible to specify an empty tag with the `--tag` and
`--keep-tag` options. This has now been fixed, such that `--tag ''` and
`--keep-tag ''` now matches snapshots without tags. This allows e.g. the
`snapshots` and `forget` commands to only operate on untagged snapshots.
https://github.com/restic/restic/issues/3456
https://github.com/restic/restic/pull/3457