]> git.ipfire.org Git - thirdparty/git.git/commit
reftable: consistently refer to `reftable_write_options` as `opts`
authorPatrick Steinhardt <ps@pks.im>
Mon, 13 May 2024 08:17:54 +0000 (10:17 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 14 May 2024 00:02:37 +0000 (17:02 -0700)
commit4d35bb2abaeff3965024b0f1599641641bcb17a6
treed02006886d4b881f785cccf822a4dcf1d844d82c
parent0f3415f1f8478b05e64db11eb8aaa2915e48fef6
reftable: consistently refer to `reftable_write_options` as `opts`

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.

While at it, touch up the coding style a bit by removing unneeded braces
around one-line statements and newlines between variable declarations.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
reftable/dump.c
reftable/reftable-stack.h
reftable/stack.c
reftable/stack.h
reftable/stack_test.c