Re: How to unpack recent objects?
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Dec 16, 2010, 21:19 UTC
- Message-ID
- <alpine.LFD.2.00.1012161616170.10437@xanadu.home>
- In-Reply-To
- <4D0A77A7.9080702@cfl.rr.com>
On Thu, 16 Dec 2010, Phillip Susi wrote:
Show 6 quoted lines
> It looks like you can use git-unpack-objects to unpack ALL objects, but > how can you unpack only recent ones that you are likely to use while > leaving the ancient stuff packed? Ideally I want to unpack all file > objects from the current commit, and a reasonable number of commit > objects going back into the history so accessing them with checkout, > diff, log, etc will be fast.
What makes you think that unpacking them will actually make the access to them faster? Instead, you should consider _repacking_ them, ultimately using the --aggressive parameter with the gc command, if you want faster accesses.
Nicolas