mirror of
https://github.com/restic/restic.git
synced 2026-11-01 13:05:41 +00:00
disable index uploads for prune command
+ modifications of changelog
This commit is contained in:
1 parent
91906911b0
commit
70347e95d5
4 files changed
+13
-4
No files matched your search
@@ -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