Skip to content

Commit 1cb8ac8

Browse files
dschoGit for Windows Build Agent
authored andcommitted
fixup??? survey: add command line opts to select references
More `odb` refactoring. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent eb568ca commit 1cb8ac8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

builtin/survey.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,9 +642,9 @@ static void survey_phase_refs(struct survey_context *ctx)
642642
switch (item->kind) {
643643
case FILTER_REFS_TAGS:
644644
ctx->report.refs.tags_nr++;
645-
if (oid_object_info(ctx->repo,
646-
&item->objectname,
647-
&size) == OBJ_TAG)
645+
if (odb_read_object_info(ctx->repo->objects,
646+
&item->objectname,
647+
&size) == OBJ_TAG)
648648
ctx->report.refs.tags_annotated_nr++;
649649
break;
650650

0 commit comments

Comments
 (0)