Patrick Steinhardt <ps@xxxxxx> writes: > Throughout the reftable library the `reftable_write_options` are > sometimes referred to as `cfg` and sometimes as `opts`. Unify these to > consistently use `opts` to avoid confusion. > I think one location was missed: diff --git a/reftable/stack_test.c b/reftable/stack_test.c index 3316d55f19..40eb793b3c 100644 --- a/reftable/stack_test.c +++ b/reftable/stack_test.c @@ -396,7 +396,7 @@ static void test_reftable_stack_auto_compaction_fails_gracefully(void) static void test_reftable_stack_validate_refname(void) { - struct reftable_write_options cfg = { 0 }; + struct reftable_write_options opts = { 0 }; struct reftable_stack *st = NULL; int err; char *dir = get_tmp_dir(__LINE__); @@ -410,7 +410,7 @@ static void test_reftable_stack_validate_refname(void) }; char *additions[] = { "a", "a/b/c" }; - err = reftable_new_stack(&st, dir, cfg); + err = reftable_new_stack(&st, dir, opts); EXPECT_ERR(err); err = reftable_stack_add(st, &write_test_ref, &ref); Rest of the patch looks good. Thanks
Attachment:
signature.asc
Description: PGP signature