From 1d4d9388f8257f856556dd6dd706e68b435bb480 Mon Sep 17 00:00:00 2001 From: Winfried Plappert Date: Wed, 18 Dec 2024 16:58:20 +0000 Subject: [PATCH] cmd_rewrite: add capability to add snapshot summary data to an existing snapshot Add option --snapshot-summary to enable this feature --- cmd/restic/cmd_rewrite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/restic/cmd_rewrite.go b/cmd/restic/cmd_rewrite.go index 29d73d0e3..19975f8d0 100644 --- a/cmd/restic/cmd_rewrite.go +++ b/cmd/restic/cmd_rewrite.go @@ -172,7 +172,7 @@ func rewriteSnapshot(ctx context.Context, repo *repository.Repository, sn *resti } rewriteNode := func(node *restic.Node, path string) *restic.Node { - return node // always include everything + return node } rewriter, querySize := walker.NewSnapshotSizeRewriter(rewriteNode)