disable index uploads for prune command

+ modifications of changelog
This commit is contained in:
Alexander Weiss
2020-06-12 09:24:38 +02:00
parent 91906911b0
commit 70347e95d5
4 changed files with 13 additions and 4 deletions

View File

@@ -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)
}