Re: Why repository grows after "git gc"? / Purpose of *.keep files?
- From
Nicolas Pitre <nico@cam.org>
- Date
- May 12, 2008, 18:56 UTC
- Message-ID
- <alpine.LFD.1.10.0805121453250.23581@xanadu.home>
- In-Reply-To
- <20080512184334.GB5160@mithlond.arda.local>
On Mon, 12 May 2008, Teemu Likonen wrote:
> Well, I don't really have any problems with the current behaviour; it > just feels a bit strange that, for example, Linus's kernel repository > grew about 90MB after just one update pull and gc.
That looks really odd. Sure the repo might grow a bit, but 90MB seems really excessive. How many time did pass between the initial clone and that subsequent pull?
> Also, dangling > objects are kept forever in .keep packs (which are created with "git > clone", for example).
A pack obtained via 'git clone' will never contain any dangling objects.
Nicolas