Theodore Tso <tytso@xxxxxxx> 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 <list of kernel git repo's on master.kernel.org> > 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/<list of kernel git repo's on master.kernel.org>/& 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. Older clients do not understand the more efficient packfile format (delta-base-offset encoding) that can be used with recent git. The feature is not turned on by default and is controlled by configuration repack.usedeltabaseoffset. Whoever does the "git repack" above should make sure he does not enable it with his $HOME/.gitconfig. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html