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

Re: Current state of GIT fetch/pull clients

From
KOKeith Owens <kaos@sgi.com>
Date
Sep 16, 2005, 05:49 UTC
Message-ID
<8953.1126849751@kao2.melbourne.sgi.com>
In-Reply-To
<7vbr2tx51n.fsf@assigned-by-dhcp.cox.net>

On Thu, 15 Sep 2005 16:52:20 -0700, Junio C Hamano <junkio@cox.net> wrote:

>What this means is that using objects/info/alternates mechanism
>in your repository is a bit premature as things currently stand,
>if you intend your repository to be used by the general public.

Clients using rsync can use a workaround, although it is a bit clumsy. I do rsync for selected /pub/scm/linux/kernel/git/ trees, including torvalds and aegl. At one point Tony Luck (aegl) was using alternates, with objects/info/alternates containing /pub/scm/linux/kernel/git/torvalds/linux-2.6.git/objects

As you described in your mail, rsync with alternates overwrites the local file, so the local alternates ended up pointing at a local directory that did not exist. Creating a local symlink from /pub/scm/linux/kernel/git to the local directory that contains the torvalds and aegl directories worked around the problem. git checkout on the aegl tree was quite happy to follow the symlink and pick up most of the files from torvalds.

No point in doing that now, Tony has reverted the aegl tree to a full copy of Linus, instead of using alternates.

Previous: Jeff Garzik
Message 4 of 4 in “Add support for alternates in HTTP”
  1. Add support for alternates in HTTPDaniel Barkalow, Sep 15, 2005
  2. Current state of GIT fetch/pull clientsJunio C Hamano, Sep 15, 2005
  3. Jeff GarzikSep 16, 2005
  4. Keith OwensSep 16, 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.