mirror of
https://github.com/restic/restic.git
synced 2024-12-22 07:43:03 +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
1 changed files with 0 additions and 5 deletions
|
@ -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 a new issue