All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paolo Bonzini <paolo.bonzini@lu.unisi.ch>
To: "Santi Béjar" <sbejar@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>,
	Paolo Bonzini <bonzini@gnu.org>,
	"Junio C. Hamano" <junkio@cox.net>
Subject: Re: [PATCH 2/3] git-fetch: Support the local remote "."
Date: Tue, 13 Mar 2007 17:53:44 +0100	[thread overview]
Message-ID: <45F6D718.5080601@lu.unisi.ch> (raw)
In-Reply-To: <87bqixf6qf.fsf@gmail.com>

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

  reply	other threads:[~2007-03-13 16:53 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 [this message]
2007-03-13 23:01   ` Santi Béjar

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=45F6D718.5080601@lu.unisi.ch \
    --to=paolo.bonzini@lu.unisi.ch \
    --cc=bonzini@gnu.org \
    --cc=git@vger.kernel.org \
    --cc=junkio@cox.net \
    --cc=sbejar@gmail.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.