diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-05-30 14:15:11 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-30 14:15:11 -0700 |
| commit | 23528d352ac4b4fdfd982e7f9a12f306518ca8b6 (patch) | |
| tree | e6df331428d98d3a54974ac17fc9438e4d66e3d2 /reftable/reftable-stack.h | |
| parent | a60c21b7206fff1a6ab561e29ac7312c437d2592 (diff) | |
| parent | f518d91a2b6465c9951f4ee1ab316ee81894000c (diff) | |
| download | git-23528d352ac4b4fdfd982e7f9a12f306518ca8b6.tar.xz | |
Merge branch 'ps/reftable-write-options'
The knobs to tweak how reftable files are written have been made
available as configuration variables.
* ps/reftable-write-options:
refs/reftable: allow configuring geometric factor
reftable: make the compaction factor configurable
refs/reftable: allow disabling writing the object index
refs/reftable: allow configuring restart interval
reftable: use `uint16_t` to track restart interval
refs/reftable: allow configuring block size
reftable/dump: support dumping a table's block structure
reftable/writer: improve error when passed an invalid block size
reftable/writer: drop static variable used to initialize strbuf
reftable: pass opts as constant pointer
reftable: consistently refer to `reftable_write_options` as `opts`
Diffstat (limited to 'reftable/reftable-stack.h')
| -rw-r--r-- | reftable/reftable-stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reftable/reftable-stack.h b/reftable/reftable-stack.h index 1b602dda58..c15632c401 100644 --- a/reftable/reftable-stack.h +++ b/reftable/reftable-stack.h @@ -29,7 +29,7 @@ struct reftable_stack; * stored in 'dir'. Typically, this should be .git/reftables. */ int reftable_new_stack(struct reftable_stack **dest, const char *dir, - struct reftable_write_options config); + const struct reftable_write_options *opts); /* returns the update_index at which a next table should be written. */ uint64_t reftable_stack_next_update_index(struct reftable_stack *st); |
