From: "H. Peter Anvin" <hpa@zytor.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Git Mailing List <git@vger.kernel.org>, ftpadmin@kernel.org
Subject: Re: git gc and kernel.org
Date: Tue, 20 Oct 2009 16:51:06 +0900 [thread overview]
Message-ID: <4ADD6BEA.3080300@zytor.com> (raw)
In-Reply-To: <7veioyqzeo.fsf@alter.siamese.dyndns.org>
On 10/20/2009 04:48 PM, Junio C Hamano wrote:
> As to (1), I think it is reasonable to do some sort of "gc" in
> receive-pack, and while I recall that Linus was violently against the
> idea, I personally think it is reasonable to run update-server-info
> ourselves at the same time without needing the hook, even if the
> repository is never going to be served over dumb http [*1*]. 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.
I'm obviously happy with making it a non-default option; we can enable
it sitewide on kernel.org.
However, git update-server-info seems to take almost no time even in
very large repos.
-hpa
next prev parent reply other threads:[~2009-10-20 7:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-20 7:00 git gc and kernel.org H. Peter Anvin
2009-10-20 7:48 ` Junio C Hamano
2009-10-20 7:51 ` H. Peter Anvin [this message]
2009-10-20 8:54 ` Johan Herland
2009-10-20 18:46 ` Nicolas Pitre
2009-10-20 21:02 ` Junio C Hamano
2009-10-20 21:16 ` Nicolas Pitre
2009-10-20 21:56 ` [PATCH] receive-pack: run "gc --auto" and optionally "update-server-info" Junio C Hamano
2009-10-21 0:21 ` Nicolas Pitre
2009-10-21 6:25 ` git gc and kernel.org Johannes Sixt
2009-10-21 7:23 ` Junio C Hamano
2009-10-21 7:39 ` Junio C Hamano
2009-10-21 8:05 ` Johannes Sixt
2009-10-21 10:21 ` Jan Krüger
2009-10-21 22:30 ` [PATCH 1/2] gc --auto --quiet: make the notice a bit less verboase Junio C Hamano
2009-10-21 22:32 ` [PATCH 2/2] receive-pack: run "gc --auto --quiet " and optionally "update-server-info" Junio C Hamano
2009-10-20 9:08 ` git gc and kernel.org Mikael Magnusson
2009-10-21 1:00 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ADD6BEA.3080300@zytor.com \
--to=hpa@zytor.com \
--cc=ftpadmin@kernel.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.