diff options
| author | Justin Tobler <jltobler@gmail.com> | 2024-04-08 16:16:53 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-04-08 12:11:10 -0700 |
| commit | bc91330cecfdc9a00a486923126a969fee6ace36 (patch) | |
| tree | 96daed5e1213eb75954214973d00fe0d88d4c2f5 /reftable/stack.h | |
| parent | 7424fb779752c77f68d1cc793cd5c6cc3cc60971 (diff) | |
| download | git-bc91330cecfdc9a00a486923126a969fee6ace36.tar.gz | |
reftable/stack: expose option to disable auto-compaction
The reftable stack already has a variable to configure whether or not to
run auto-compaction, but it is inaccessible to users of the library.
There exist use cases where a caller may want to have more control over
auto-compaction.
Move the `disable_auto_compact` option into `reftable_write_options` to
allow external callers to disable auto-compaction. This will be used in
a subsequent commit.
Signed-off-by: Justin Tobler <jltobler@gmail.com>
Acked-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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/reftable/stack.h b/reftable/stack.h index d919455669..c862053025 100644 --- a/reftable/stack.h +++ b/reftable/stack.h @@ -19,7 +19,6 @@ struct reftable_stack { int list_fd; char *reftable_dir; - int disable_auto_compact; struct reftable_write_options config; |
