mirror of
https://github.com/restic/restic.git
synced 2025-10-09 23:14:08 +00:00
disable index uploads for prune command
+ modifications of changelog
This commit is contained in:
@@ -140,6 +140,9 @@ 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.SaveFullIndex(ctx)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user