Daniel Barkalow [off-list ref] writes:
On Tue, 8 May 2007, Theodore Ts'o wrote:
quoted
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.
I think that sounds saner and more user friendly than specific
knob to tune "window", "depth" and friends which are too
technical. It has an added attraction that we can redefine what
exactly "hard" means later.