Re: 1.3.0 creating bigger packs than 1.2.3
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Apr 20, 2006, 14:47 UTC
- Message-ID
- <Pine.LNX.4.64.0604200745550.3701@g5.osdl.org>
- In-Reply-To
- <20060420133640.GA31198@spearce.org>
On Thu, 20 Apr 2006, Shawn Pearce wrote:
Show 14 quoted lines
> Apparently I have created a repository which v1.2.3 packs about 50% > smaller than 'next' does: > > v1.2.3 (tag): > 60M pack-7f766f5af5547554bacb28c0294bd562589dc5e7.pack > > 1.2.3.gf3a4 (an older 'next'): > 128M pack-7f766f5af5547554bacb28c0294bd562589dc5e7.pack > > 1.3.0.rc4.g8060 (a fairly recent 'next'): > 118M pack-7f766f5af5547554bacb28c0294bd562589dc5e7.pack > > Repeated packing with 1.3.0.rc4.g8060 doesn't seem to change the > size of the pack file, its pretty consistent at 118M.
First try "git repack -a -d f", where the "-f" is the magic one.
Without the -f, git repack will re-use old pack information, which is much much faster, but not as space-efficient.
If that doesn't help, it might be time to look at the actual repo, but try that first.
Linus