gc.sh: combine small packs as needed
commit5ac168085ffa8928cbed126f91ca527e0484d9ed
authorKyle J. McKay <mackyle@gmail.com>
Wed, 1 Jun 2016 08:56:23 +0000 (1 01:56 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 1 Jun 2016 08:56:23 +0000 (1 01:56 -0700)
tree8e098fcd6eae14e9545e89b94617aba2dbdd4993
parent034069fb137c4ab6127e84b9c1df9f308d494764
gc.sh: combine small packs as needed

If all deltas are not being recomputed, then we can still
benefit by combining small packs together and recomputing
deltas just for the now-combined small packs.

Also we make sure to do this BEFORE we copy objects down
to forks since it does not involve pruning any objects and
reduces the amount of stuff that needs to be copied down
to any fork(s).

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