snapshots: correctly handle --latest in combination with --group-by

This commit is contained in:
Michael Eischer
2025-11-16 18:25:48 +01:00
parent 3b854d9c04
commit 5afe61585b
3 changed files with 48 additions and 32 deletions

View File

@@ -0,0 +1,7 @@
Bugfix: correctly handle `snapshots --group-by` in combination with `--latest`
For the `snapshots` command, the `--latest` option did not correctly handle the
case where an non-default value was passed to `--group-by`. This has been fixed.
https://github.com/restic/restic/issues/5586
https://github.com/restic/restic/pull/5601