implement progress bar for index loading

This commit is contained in:
arjunajesh
2023-10-01 19:52:59 +02:00
committed by Michael Eischer
parent eac1c4a8d0
commit ed65a7dbca
24 changed files with 80 additions and 37 deletions
+2 -1
View File
@@ -469,7 +469,8 @@ func runDebugExamine(ctx context.Context, gopts GlobalOptions, args []string) er
}
}
err = repo.LoadIndex(ctx)
bar := newProgressMax(!gopts.Quiet, 0, "index files loaded")
err = repo.LoadIndex(ctx, bar)
if err != nil {
return err
}