gc.sh: add girocco.redelta escape hatch
commit69734174046a957ff3f7404119b974cd2e30611a
authorKyle J. McKay <mackyle@gmail.com>
Sun, 21 Aug 2016 17:52:14 +0000 (21 10:52 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 21 Aug 2016 17:52:14 +0000 (21 10:52 -0700)
treef75582aa809df22f41efb08e7637485bf22f1f97
parent1ecedd8615c6353796711fe9ca246f350b4238df
gc.sh: add girocco.redelta escape hatch

Normally, generating new deltas when there are only a small number of
objects present is the right thing to do as it's fast and helps to
increase efficiency of the hosted repositories.

However, in the case where there is some unexpected pathological redelta
behavior, this automatic recompute-deltas-for-small-number-of-objects
behavior can be disabled by explicitly setting the config variable
"girocco.redelta" to false.

To disable redeltas for all projects by default, "girocco.redelta" can
be set to false in the $Girocco::Config::chroot/etc/girocco/.gitconfig
file and then explicitly set to true for individual projects where the
redelta behavior is desired.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/gc.sh