Re: [RFC][RESEND][PATCH] Allow fetching from multiple repositories at once
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 23, 2006, 17:04 UTC
- Message-ID
- <20060923170439.GQ8259@pasky.or.cz>
- In-Reply-To
- <45156780.6070801@gmail.com>
Dear diary, on Sat, Sep 23, 2006 at 06:57:36PM CEST, I got a letter where A Large Angry SCM <gitzilla@gmail.com> said that...
Show 12 quoted lines
> Petr Baudis wrote: > >You still need to pass git-fetch-pack some URL in addition to the > >repositories - it is used only for git_connect(), the purpose is that > >repositories must be local directories so if you want to talk remote, you > >need to do something like > > > > git-fetch-pack git://kernel.org/pub/scm/git/git.git > > --repo=/pub/scm/git/git.git master next > > --repo=/pub/scm/cogito/cogito.git master > > > > Can't this be done with a simple wrapper around git-fetch* ?
The point is that that is too slow (the difference is noticeable especiall in the case there is no new stuff ready), you need to create a connection and do whole lot of work for each of the repositories.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)