Re: Why repository grows after "git gc"? / Purpose of *.keep files?
- From
Nicolas Pitre <nico@cam.org>
- Date
- May 14, 2008, 20:29 UTC
- Message-ID
- <alpine.LFD.1.10.0805141626070.23581@xanadu.home>
- In-Reply-To
- <alpine.LFD.1.10.0805141314440.3019@woody.linux-foundation.org>
On Wed, 14 May 2008, Linus Torvalds wrote:
Show 6 quoted lines
> Of course, the more aggressively we prune, the more we end up having to > depend on the fact that a commit that is in a pack that is marked "keep" > must *always* have everything that leads to it in that pack or others also > marked "keep". We effectively have that already (because we've always > pruned away the commits early), but it's a thing to keep in mind whenever > we prune even more aggressively.
I wonder if this is a good thing. Such a rule would effectively put restrictions on how objects like big blobs could be distributed amongst many .keep packs. I just wish we're not painting ourselves in a corner.
Nicolas