gc.sh: do not skip "mini" maintenance when forks are present
commitef6b0f699e3a92cffea1fb9fc5e4ca62ecaf2a4a
authorKyle J. McKay <mackyle@gmail.com>
Thu, 2 Jun 2016 08:53:44 +0000 (2 01:53 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 2 Jun 2016 08:53:44 +0000 (2 01:53 -0700)
tree5ed2dbd4cc025424232a2a1976b73d21835950c9
parent38234e25299a130fbb9328db1c76b33e9c77a4a9
gc.sh: do not skip "mini" maintenance when forks are present

Normally, if all deltas are being recomputed during a full gc,
the "mini" maintenance activities are a waste of time because
doing a full gc and recomputing all deltas would duplicate effort.

However, in the presence of forks, it's important to perform
these activities before copying stuff down to the forks to avoid
suboptimal packs living on in the forks or excessive numbers of
loose objects being copied down to the forks.

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