Skip to content

Commit b0a5c7b

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? survey: add command line opts to select references
Progress now needs a repository... Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 7fdbbd8 commit b0a5c7b

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
@@ -597,7 +597,8 @@ static void do_load_refs(struct survey_context *ctx,
597597

598598
if (ctx->opts.show_progress) {
599599
ctx->progress_total = 0;
600-
ctx->progress = start_progress(_("Scanning refs..."), 0);
600+
ctx->progress = start_progress(ctx->repo,
601+
_("Scanning refs..."), 0);
601602
}
602603

603604
filter_refs(ref_array, &filter, FILTER_REFS_KIND_MASK);

0 commit comments

Comments
 (0)