From: Jakub Narebski Date: Tue, 13 Feb 2007 00:51:16 GMT Subject: Re: Efficiency of initial clone from server Message-ID: In-Reply-To: <7vd54f85du.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Theodore Tso writes: > >> Even before we get Git 1.5.0 installed on master.kernel.org (and we >> should really ask hpa to do that), is there a reason we haven't done >> something like this across all of the kernel repo's on >> master.kernel.org? >> >> for i in >> do >> pushd $i >> if [ ! -f objects/info/alternates ]; then >> echo /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects \ >> > objects/info/alternates >> git repack -a -d -l >> fi >> popd >> done > > Perhaps s//& minus a few/? > > "Minus a few" are (obviously) Linus's repository and bkcvs > historical ones (I think there are two of them). > > Other than that I do not think of a major problem. Repacking > into one would inconvenience http clients but that is not a new > issue and would have happened when the owner of the individual > repository chose to do so anyway. So objects/info/http-alternates should be also set, I guess... -- Jakub Narebski Warsaw, Poland ShadeHawk on #git