On Tue, 8 May 2007, Theodore Ts'o wrote:
This allows the user to regenerate the deltas in packs while doing
a git-gc. The user could just run git-repack -a -d -f -l after
running git-gc, but then the first git-repack run by git-gc is
a bit of waste.
Maybe git-gc should have an option for "compress hard"? It seems to me
like a two-sizes-fit-all solution would be good here; "git gc" for daily
use, and "git gc --squeeze" for when you want to make the result as small
as possible, with compute time not being a major factor. If all you know
is that you're going to burn this repository onto a stack of CDs and mail
it to somebody (but don't know about delta reuse, window sizes, and
depths, let alone good values for these), it would be good to have an
option where it picks an appropriate different set of defaults for you.
-Daniel
*This .sig left intentionally blank*