Re: Can I have this, pretty please?
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Aug 12, 2007, 19:45 UTC
- Message-ID
- <alpine.LFD.0.999.0708121243220.30176@woody.linux-foundation.org>
- In-Reply-To
- <9e4733910708121228v2fa8d356ld93efa7d1d5effd6@mail.gmail.com>
On Sun, 12 Aug 2007, Jon Smirl wrote:
> > Could the topological graph for a packfile be computed at pack time > and stored in the packfile so that gitk doesn't have to keep > recomputing it?
For a single (full) pack, with no loose objects, sure, you could cache it. But then you might as well just cache it all outside git instead.
> Does it work to merge multiple precomputed graphs > retrieved from the pack files?
No. For multiple packs, there aren't even any "precomputed graphs". You could probably do it with some fragment thing, and then be really clever putting all the fragments together, but I think it's complex as hell.
Linus