Files
git/Documentation
Taylor Blau 23c1e71369 pack-objects: enable multi-pack reuse via feature.experimental
Now that multi-pack reuse is supported, enable it via the
feature.experimental configuration in addition to the classic
`pack.allowPackReuse`.

This will allow more users to experiment with the new behavior who might
not otherwise be aware of the existing `pack.allowPackReuse`
configuration option.

The enum with values NO_PACK_REUSE, SINGLE_PACK_REUSE, and
MULTI_PACK_REUSE is defined statically in builtin/pack-objects.c's
compilation unit. We could hoist that enum into a scope visible from the
repository_settings struct, and then use that enum value in
pack-objects. Instead, define a single int that indicates what
pack-objects's default value should be to avoid additional unnecessary
code movement.

Though `feature.experimental` implies `pack.allowPackReuse=multi`, this
can still be overridden by explicitly setting the latter configuration
to either "single" or "false". Tests covering all of these cases are
showin t5332.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2024-02-05 15:27:01 -08:00
..
2024-02-02 11:31:51 -08:00
2023-10-30 07:09:55 +09:00
2023-11-26 10:07:05 +09:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2023-10-09 12:06:24 -07:00
2023-10-09 12:06:29 -07:00
2023-11-26 10:07:05 +09:00
2023-09-02 15:21:44 -07:00
2023-10-09 12:06:29 -07:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2023-10-23 13:56:37 -07:00
2021-12-10 14:35:03 -08:00
2024-01-02 13:51:30 -08:00
2023-05-16 11:38:14 -07:00
2023-10-09 12:06:24 -07:00
2024-01-16 10:11:57 -08:00
2023-10-09 12:06:29 -07:00
2023-12-14 14:38:07 -08:00
2023-10-05 12:55:38 -07:00
2019-05-07 13:04:48 +09:00
2023-08-28 09:16:06 -07:00
2023-11-26 10:07:05 +09:00
2023-10-09 12:04:21 -07:00