On 1/8/07, Linus Torvalds [off-list ref] wrote:
On Sun, 7 Jan 2007, Jeff Garzik wrote:
quoted
Yes but what about existing trees?
Can you add an alternatives file, then prune, and get the same result as if
you had done a clone -s ?
Yes. Also do
git repack -a -d -l
where the "-l" flag is the magic (it says to repack only objects that
aren't already packed in the alternate repository)
If all kernel.org repos get git-repack -a -d -l and git-pack-refs,
gitweb will see a significant speedup, as some up-to-date checks
become extremely cheap.
cheers
martin