mirror of
https://github.com/restic/restic.git
synced 2025-12-12 03:11:56 +00:00
prune: no longer disable automatic index updates
this allows prune to resume an interrupted prune run.
This commit is contained in:
@@ -200,8 +200,5 @@ func (r *Repository) savePacker(ctx context.Context, t restic.BlobType, p *packe
|
||||
r.idx.StorePack(id, p.Packer.Blobs())
|
||||
|
||||
// Save index if full
|
||||
if r.noAutoIndexUpdate {
|
||||
return nil
|
||||
}
|
||||
return r.idx.SaveFullIndex(ctx, r)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user