2
2
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:
Michael Eischer 2020-04-02 22:50:08 +02:00
parent 7aa2f8a61e
commit fb842759fc

View File

@ -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 {