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

Re: Current state of GIT fetch/pull clients

From
JGJeff Garzik <jgarzik@pobox.com>
Date
Sep 16, 2005, 01:03 UTC
Message-ID
<432A19F6.8050605@pobox.com>
In-Reply-To
<7vbr2tx51n.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 15 quoted lines
> Neither http nor rsync transports know about the 'alternates'
> mechanism yet, so if a downloader does:
> 
>     $ git pull http://kernel.org/pub/scm/linux/kernel/git/$u/$tree
>     $ git pull rsync://kernel.org/pub/scm/linux/kernel/git/$u/$tree
> 
> unless the downloader has already fetched from Linus'
> repository, this will not work.
> 
>   * In the case of rsync transport, it would slurp all objects
>     your repository has, but does not get objects from Linus'
>     repository.  Also, rsync will overwrite the
>     objects/info/alternates file the downloader has in his
>     repository with what you have in your repository, which is
>     not what we want.

Yes, this is why I don't bother with alternates at the present time. Users of my repos, at least, have been trained to use rsync://... and currently expect to get a working tree that way.

	Jeff
Previous: Junio C HamanoNext: Keith Owens
Message 3 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.