Skip to content

Commit 357b80c

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? survey: show progress during object walk
Progress now needs a repository... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b0a5c7b commit 357b80c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

builtin/survey.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,8 @@ static void survey_phase_objects(struct survey_context *ctx)
844844
ctx->progress_nr = 0;
845845
ctx->progress_total = ctx->ref_array.nr;
846846
if (ctx->opts.show_progress)
847-
ctx->progress = start_progress(_("Preparing object walk"),
847+
ctx->progress = start_progress(ctx->repo,
848+
_("Preparing object walk"),
848849
ctx->progress_total);
849850
for (int i = 0; i < ctx->ref_array.nr; i++) {
850851
struct ref_array_item *item = ctx->ref_array.items[i];

0 commit comments

Comments
 (0)