From: "Santi Béjar" <sbejar@gmail.com>
To: bonzini@gnu.org
Cc: "Git Mailing List" <git@vger.kernel.org>,
"Junio C. Hamano" <junkio@cox.net>
Subject: Re: [PATCH 2/3] git-fetch: Support the local remote "."
Date: Wed, 14 Mar 2007 00:01:47 +0100 [thread overview]
Message-ID: <8aa486160703131601j19c4e3b2nd0a4e8ccd4cc7114@mail.gmail.com> (raw)
In-Reply-To: <45F6D718.5080601@lu.unisi.ch>
On 3/13/07, Paolo Bonzini <paolo.bonzini@lu.unisi.ch> wrote:
> Santi Béjar wrote:
> > To this end, git-parse-remote is grown with a new kind of remote,
> > `builtin'. This returns all the local branches in
> > get_remote_default_refs_for_fetch. This is equivalent to having a
> > fake remote as:
> >
> > [remote "local"]
> > url = .
> > fetch = refs/*
> >
> > Based on a patch from Paolo Bonzini.
>
> Can you please compare the times to do "git fetch ."? The reason
> to touch git-fetch.sh was an optimization that Junio requested.
>
> I found my 2nd submission to be 20% faster than the first.
>
> Paolo
>
Yes. But this optimization is independent of this patch, as it already
exists without this (but it gets worse with this patch).
Also, I think, the split in fetch_main should be base on transport and
not on the definition of the remote.
Santi
prev parent reply other threads:[~2007-03-13 23:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 16:28 [PATCH 2/3] git-fetch: Support the local remote "." Santi Béjar
2007-03-13 16:53 ` Paolo Bonzini
2007-03-13 23:01 ` Santi Béjar [this message]
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=8aa486160703131601j19c4e3b2nd0a4e8ccd4cc7114@mail.gmail.com \
--to=sbejar@gmail.com \
--cc=bonzini@gnu.org \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).