Re: Why repository grows after "git gc"? / Purpose of *.keep files?
- From
- Teemu Likonen <tlikonen@iki.fi>
- Date
- May 14, 2008, 05:42 UTC
- Message-ID
- <20080514054245.GA3147@mithlond.arda.local>
- In-Reply-To
- <20080513214638.GA14930@cuci.nl>
Stephen R. van den Berg wrote (2008-05-14 00:46 +0300):
Show 12 quoted lines
> Teemu Likonen wrote: > >This way the "daily" gc would operate very fast (as it leaves .keep > >packs alone), and with gc --aggressive user could easily decide when to > >create new landmark .keep packs (and also prune possible dangling > >objects inside previous .keep packs). Normal user don't need to know the > >details. Just run gc occasionally and maybe gc --aggressive when better > >optimization is needed. > > >How does this sound? > > It sounds sound :-). > I like the simplicity.
It turned out that gc --aggressive is not what I thought it was, i.e. "pack aggressively and efficiently". So my suggestion implies the semantics that --aggressive would do effective compressing.