mirror of
https://github.com/octoleo/restic.git
synced 2025-01-23 15:18:31 +00:00
733519d895
This commit is a followup to the addition of the --group-by flag for the snapshots command. Adding the grouping code there introduced duplicated code (the forget command also does grouping). This commit refactors boths sides to only use shared code.