mirror of
https://github.com/restic/restic.git
synced 2025-08-14 00:47:51 +00:00
prune: allow gc of set of repacked blobs before index rebuild
This commit is contained in:
@@ -720,6 +720,9 @@ func doPrune(ctx context.Context, opts PruneOptions, gopts GlobalOptions, repo r
|
||||
"https://github.com/restic/restic/issues/new/choose\n", plan.keepBlobs)
|
||||
return errors.Fatal("internal error: blobs were not repacked")
|
||||
}
|
||||
|
||||
// allow GC of the blob set
|
||||
plan.keepBlobs = nil
|
||||
}
|
||||
|
||||
if len(plan.ignorePacks) == 0 {
|
||||
|
Reference in New Issue
Block a user