Re: Linux 2.6.15-rc2
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 24, 2005, 19:42 UTC
- Message-ID
- <7v4q61suhi.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0511241037400.13959@g5.osdl.org>
Linus Torvalds <torvalds@osdl.org> writes:
> (This is in no way really fundamental, and the server could cache the > packs it generates for initial clones, but that isn't implemented yet, and > probably won't be for some times).
Performance perceived by cloners is helped by
$ mkdir -p .git/pack-cache
$ git-rev-list --objects --all | git-pack-objects .git/pack-cache/packon the server side. This exact example of preparing by the repository maintainer is optimizing for a wrong case, and I do not think it is worth doing in practice, but this will give you the lower bound when server side cache is implemented to do it on demand.