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

Re: What broke snapshots now?

From
Linus Torvalds <torvalds@osdl.org>
Date
Jul 10, 2005, 17:31 UTC
Message-ID
<Pine.LNX.4.58.0507101026430.17536@g5.osdl.org>
In-Reply-To
<1121016147.23706.91.camel@baythorne.infradead.org>
On Sun, 10 Jul 2005, David Woodhouse wrote:
Show 8 quoted lines
> 
> > Anyway, it's possible that this is a temporary problem: one of the issues 
> > is that since you seem to be using the "rsync:" protocol for updating 
> > things, what happens is that if the mirroring is off a bit, you may have 
> > gotten a new head, but not all the objects. Then you'd get exactly this.
> 
> It's done locally on hera though -- so the mirroring shouldn't be a
> problem.
No it's not, as far as I can tell:
	torvalds@hera:/home/dwmw2/git/mail-2.6(0)$ cat .git/branches/origin
	rsync://www.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

so your scripts will go out to rsync with www.kernel.org to get the data, when you use "cg-update origin".

> More usefully though, if ordering really isn't a problem on your
> repository then I should probably rewrite the script to work directly
> from that instead of from a copy.

It should not be a problem, but you obviously have to be careful about ordering, ie you should fetch the references first, and act on them later.

		Linus
Previous: David WoodhouseNext: David Woodhouse
Message 8 of 9 in “What broke snapshots now?”
  1. David WoodhouseJul 9, 2005
  2. Jeff GarzikJul 9, 2005
  3. Linus TorvaldsJul 9, 2005
  4. David WoodhouseJul 9, 2005
  5. David WoodhouseJul 10, 2005
  6. Linus TorvaldsJul 10, 2005
  7. David WoodhouseJul 10, 2005
  8. Linus TorvaldsJul 10, 2005
  9. David WoodhouseJul 11, 2005

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.