pack-objects: introduce pack.allowPackReuse
commite704fc7978f2818f6a4cbf95bd0b75acf7b82aca
authorJeff King <peff@peff.net>
Wed, 18 Dec 2019 11:25:43 +0000 (18 12:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Jan 2020 18:51:50 +0000 (23 10:51 -0800)
treef5819d3e302003cba5145c25674b9775d7870fd5
parent2f4af776990b59f569d68ffd3cb3556213537b04
pack-objects: introduce pack.allowPackReuse

Let's make it possible to configure if we want pack reuse or not.

The main reason it might not be wanted is probably debugging and
performance testing, though pack reuse _might_ cause larger packs,
because we wouldn't consider the reused objects as bases for
finding new deltas.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/pack.txt
builtin/pack-objects.c