Re: [PATCH 2/3] git-fetch: Support the local remote "."
- From
Paolo Bonzini <paolo.bonzini@lu.unisi.ch>
- Date
- Mar 13, 2007, 16:53 UTC
- Message-ID
- <45F6D718.5080601@lu.unisi.ch>
- In-Reply-To
- <87bqixf6qf.fsf@gmail.com>
Santi Béjar wrote:
Show 10 quoted lines
> 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