From bc91330cecfdc9a00a486923126a969fee6ace36 Mon Sep 17 00:00:00 2001 From: Justin Tobler Date: Mon, 8 Apr 2024 16:16:53 +0000 Subject: 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 Acked-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- reftable/stack.h | 1 - 1 file changed, 1 deletion(-) (limited to 'reftable/stack.h') 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; -- cgit 1.2.3-korg