mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 02:48:55 +00:00
debug: don't load the repository index
The existing commands don't need a loaded repository index which can take several minutes to load on larger repositories.
This commit is contained in:
parent
7aa2f8a61e
commit
fb842759fc
@ -141,11 +141,6 @@ func runDebugDump(gopts GlobalOptions, args []string) error {
|
||||
}
|
||||
}
|
||||
|
||||
err = repo.LoadIndex(gopts.ctx)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
tpe := args[0]
|
||||
|
||||
switch tpe {
|
||||
|
Loading…
Reference in New Issue
Block a user