summaryrefslogtreecommitdiffstats
path: root/reftable/stack.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-05-13 10:17:54 +0200
committerJunio C Hamano <gitster@pobox.com>2024-05-14 02:02:37 +0200
commit4d35bb2abaeff3965024b0f1599641641bcb17a6 (patch)
treed02006886d4b881f785cccf822a4dcf1d844d82c /reftable/stack.h
parentThe second batch (diff)
downloadgit-4d35bb2abaeff3965024b0f1599641641bcb17a6.tar.xz
git-4d35bb2abaeff3965024b0f1599641641bcb17a6.zip
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>
Diffstat (limited to 'reftable/stack.h')
-rw-r--r--reftable/stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/reftable/stack.h b/reftable/stack.h
index d43efa4760..97d7ebc043 100644
--- a/reftable/stack.h
+++ b/reftable/stack.h
@@ -20,7 +20,7 @@ struct reftable_stack {
char *reftable_dir;
- struct reftable_write_options config;
+ struct reftable_write_options opts;
struct reftable_reader **readers;
size_t readers_len;