Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: git gc and kernel.org

From: Nicolas Pitre <nico@fluxnic.net>
Date: 2016-06-15 22:47:35

On Tue, 20 Oct 2009, Johan Herland wrote:
On Tuesday 20 October 2009, Junio C Hamano wrote:
quoted
At one point, update-server-info used to compute a lot more than what we
currently compute and it made some sense to oppose against it on
performance ground.

But these days it only lists the refs and packs and does nothing else;
the performance impact should be immeasurable and it adds only two files
to the repository.  It cannot be a big deal, unless you oppose to http
transport on a non-technical ground.
FYI, update-server-info takes ~0.7 seconds in a repo with one pack and 
~50000 refs, so I guess it's acceptable to enable it by default, even in 
those kinds of repos.
Still... Hopefully this is going to become redundant information in the 
future with the eventual deployment of smart protocol over HTTP.  So I 
think that as a config option being off by default this is a good 
compromize.  Site administrators can turn it on by default in 
/etc/gitconfig.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help