git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC][RESEND][PATCH] Allow fetching from multiple repositories at once

From
Petr Baudis <pasky@suse.cz>
Date
Sep 23, 2006, 19:14 UTC
Message-ID
<20060923191439.GD20017@pasky.or.cz>
In-Reply-To
<ef3vb6$69d$1@sea.gmane.org>

Dear diary, on Sat, Sep 23, 2006 at 08:45:01PM CEST, I got a letter where Jakub Narebski <jnareb@gmail.com> said that...

Show 12 quoted lines
> Petr Baudis wrote:
> 
> > This patch enables fetching multiple repositories at once over the Git
> > protocol (and SSH, and locally if git-fetch-pack is your cup of coffee
> > there). This is done especially for the xorg people who have tons of
> > repositories and dislike pulls much slower than they were used to with CVS.
> > I'm eager to hear how this affects the situation.
> [...]
> 
> I see that objects got to the one shared object database. Where the heads
> (refs) go to? Separate projects have separate ref spaces, even if they share
> object database...

git-fetch-pack actually does not save the refs at all, that's the job of the porcelain (either git-fetch or cg-fetch). git-fetch-pack just emits the refs list on stdout. See the script in a followup for an example of a multirepo-aware porcelain wrapper.

-- 
				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*',/((..)*)$/)
Previous: Jakub Narebski
Message 13 of 13 in “Allow fetching from multiple repositories at once”
  1. Petr BaudisSep 23, 2006
  2. A Large Angry SCMSep 23, 2006
  3. Petr BaudisSep 23, 2006
  4. Johannes SchindelinSep 23, 2006
  5. Petr BaudisSep 23, 2006
  6. Johannes SchindelinSep 23, 2006
  7. Petr BaudisSep 23, 2006
  8. Johannes SchindelinSep 23, 2006
  9. Petr BaudisSep 23, 2006
  10. Junio C HamanoSep 23, 2006
  11. Petr BaudisSep 23, 2006
  12. Jakub NarebskiSep 23, 2006
  13. Petr BaudisSep 23, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.