mirror of
https://github.com/octoleo/restic.git
synced 2025-02-02 11:58:26 +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.