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
1 changed files with 0 additions and 5 deletions

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 {