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

Re: [PATCH] Teach git-remote to update existing remotes by fetching from them

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 20, 2007, 15:24 UTC
Message-ID
<200702201625.00841.jnareb@gmail.com>
In-Reply-To
<20070219201111.GA3407@steel.home>
Alex Riesen wrote:
Show 9 quoted lines
> Jakub Narebski, Mon, Feb 19, 2007 14:21:01 +0100:
>>> 
>>> IOW: the fetch fails only if all fetches fail (with default
>>> being "fail = first").
>> 
>> Or just allow fetch remotes to have multiple URLs, and fetch from
>> all/try to fetch starting from first. 
> 
> How do you define which refs to get from which url?

I was thinking about "mirror" situation, so all URL would be the same repository, and the same refs. On fetch, try to fetch starting from first, on push, push to all.

-- 
Jakub Narebski
Poland
Previous: Junio C Hamano
Message 8 of 8 in “Teach git-remote to update existing remotes by fetching from them”
  1. Teach git-remote to update existing remotes by fetching from themTheodore Ts'o, Feb 19, 2007
  2. Junio C HamanoFeb 19, 2007
  3. Shawn O. PearceFeb 19, 2007
  4. Alex RiesenFeb 19, 2007
  5. Jakub NarebskiFeb 19, 2007
  6. Theodore TsoFeb 19, 2007
  7. Junio C HamanoFeb 19, 2007
  8. Jakub NarebskiFeb 20, 2007

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.