Skip to content

Commit 55e4ccb

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 357b80c commit 55e4ccb

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
@@ -857,7 +857,8 @@ static void survey_phase_objects(struct survey_context *ctx)
857857
ctx->progress_nr = 0;
858858
ctx->progress_total = 0;
859859
if (ctx->opts.show_progress)
860-
ctx->progress = start_progress(_("Walking objects"), 0);
860+
ctx->progress = start_progress(ctx->repo,
861+
_("Walking objects"), 0);
861862
walk_objects_by_path(&info);
862863
stop_progress(&ctx->progress);
863864

0 commit comments

Comments
 (0)