Re: [WISH] Store also tag dereferences in packed-refs
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- Nov 19, 2006, 20:44 UTC
- Message-ID
- <Pine.LNX.4.64.0611191242000.3692@woody.osdl.org>
- In-Reply-To
- <Pine.LNX.4.64.0611191219350.3692@woody.osdl.org>
On Sun, 19 Nov 2006, Linus Torvalds wrote:
> > So the optimizations that _can_ be done are:
Of course, doing a "git repack -a -d && git prune" is always the #1 optimization. It will still look up the objects, but it will be a lot faster about it, and avoid a lot of the really bad IO patterns.
If you don't want to repack, you could try just doing a "git clone" and then doing the "git pack-refs --prune" in the clone too. And compare cold-cache times between the two "identical" repositories.