mirror of
https://github.com/restic/restic.git
synced 2026-04-24 13:49:24 +00:00
disable index uploads for prune command
+ modifications of changelog
This commit is contained in:
@@ -87,6 +87,9 @@ func runPrune(gopts GlobalOptions) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// we do not need index updates while pruning!
|
||||
repo.DisableAutoIndexUpdate()
|
||||
|
||||
return pruneRepository(gopts, repo)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user